Skip to content

Commit 6b9e484

Browse files
committed
fix some recipe errors
1 parent 7fcdf55 commit 6b9e484

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ include README.rst
55
include setup.cfg
66
include setup.py
77
include shell/*
8-
recursive-include conda *.py

conda.recipe/meta.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ build:
2525
requirements:
2626
build:
2727
- python
28+
- setuptools
2829
- pycosat >=0.6.1
2930
run:
3031
- python

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
else:
1111
from distutils.core import setup
1212

13+
from setuptools import find_packages
14+
1315
if not (sys.version_info[:2] == (2, 7) or sys.version_info[:2] >= (3, 3)):
1416
sys.exit("conda is only meant for Python 2.7 or 3.3 and up. "
1517
"current version: %d.%d" % sys.version_info[:2])
@@ -60,9 +62,7 @@
6062
"Programming Language :: Python :: 3.4",
6163
"Programming Language :: Python :: 3.5",
6264
],
63-
packages=[
64-
'conda',
65-
],
65+
packages=find_packages(exclude=("tests", "conda-env", "build", "utils", ".tox")),
6666
cmdclass={
6767
'build_py': conda._vendor.auxlib.BuildPyCommand,
6868
'sdist': conda._vendor.auxlib.SDistCommand,

0 commit comments

Comments
 (0)