Skip to content

Commit

Permalink
update setup.py compat with py2.7
Browse files Browse the repository at this point in the history
without find_{,namespace_}packages
without warnings
use MANIFEST.in
  • Loading branch information
PPN-SD committed Jan 17, 2025
1 parent 3deddca commit 8b219da
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'pytest-cov',
]

from setuptools import setup, find_namespace_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, 'README.rst'), 'r') as f:
Expand Down Expand Up @@ -91,13 +91,18 @@
classifiers=CLASSIFIERS,
author="Chris McDonough",
author_email="[email protected]",
packages=find_namespace_packages(exclude=["docs","supervisor.tests","supervisor.tests.*"]),
package_dir={"": "."},
package_data={
"supervisor": ["version.txt"],
"supervisor.ui": ["**/*"],
"supervisor.skel": ["*"]
},
packages=[
'supervisor',
'supervisor.medusa',
'supervisor.scripts',
'supervisor.skel',
'supervisor.tests',
'supervisor.tests.fixtures',
'supervisor.tests.fixtures.example',
'supervisor.ui',
'supervisor.ui.images',
'supervisor.ui.stylesheets',
],
install_requires=requires,
extras_require={
'testing': testing_extras,
Expand Down

0 comments on commit 8b219da

Please sign in to comment.