Skip to content

Commit 5d1267d

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

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

setup.py

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
" dependency because pkg_resources is used to load plugins"
3737
)
3838

39-
from setuptools import setup, find_namespace_packages
39+
from setuptools import setup
4040
here = os.path.abspath(os.path.dirname(__file__))
4141
try:
4242
with open(os.path.join(here, 'README.rst'), 'r') as f:
@@ -93,13 +93,18 @@
9393
classifiers=CLASSIFIERS,
9494
author="Chris McDonough",
9595
author_email="[email protected]",
96-
packages=find_namespace_packages(exclude=["docs","supervisor.tests","supervisor.tests.*"]),
97-
package_dir={"": "."},
98-
package_data={
99-
"supervisor": ["version.txt"],
100-
"supervisor.ui": ["**/*"],
101-
"supervisor.skel": ["*"]
102-
},
96+
packages=[
97+
'supervisor',
98+
'supervisor.medusa',
99+
'supervisor.scripts',
100+
'supervisor.skel',
101+
'supervisor.tests',
102+
'supervisor.tests.fixtures',
103+
'supervisor.tests.fixtures.example',
104+
'supervisor.ui',
105+
'supervisor.ui.images',
106+
'supervisor.ui.stylesheets',
107+
],
103108
install_requires=[],
104109
extras_require={
105110
'test': ['pytest', 'pytest-cov']

0 commit comments

Comments
 (0)