Skip to content

Commit ddd0fe3

Browse files
committed
update setup.py compat with py2.7
without find_{,namespace_}packages without warnings use MANIFEST.in
1 parent d254f0a commit ddd0fe3

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

setup.py

+13-8
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'pytest-cov',
3535
]
3636

37-
from setuptools import setup, find_namespace_packages
37+
from setuptools import setup
3838
here = os.path.abspath(os.path.dirname(__file__))
3939
try:
4040
with open(os.path.join(here, 'README.rst'), 'r') as f:
@@ -91,13 +91,18 @@
9191
classifiers=CLASSIFIERS,
9292
author="Chris McDonough",
9393
author_email="[email protected]",
94-
packages=find_namespace_packages(exclude=["docs","supervisor.tests","supervisor.tests.*"]),
95-
package_dir={"": "."},
96-
package_data={
97-
"supervisor": ["version.txt"],
98-
"supervisor.ui": ["**/*"],
99-
"supervisor.skel": ["*"]
100-
},
94+
packages=[
95+
'supervisor',
96+
'supervisor.medusa',
97+
'supervisor.scripts',
98+
'supervisor.skel',
99+
'supervisor.tests',
100+
'supervisor.tests.fixtures',
101+
'supervisor.tests.fixtures.example',
102+
'supervisor.ui',
103+
'supervisor.ui.images',
104+
'supervisor.ui.stylesheets',
105+
],
101106
install_requires=requires,
102107
extras_require={
103108
'testing': testing_extras,

0 commit comments

Comments
 (0)