Skip to content

Commit

Permalink
Update setup.py/cfg
Browse files Browse the repository at this point in the history
delete deprecated :
bdist_wheel
tests_require
test_suite

use find_namespace_pacakge to prevent warning about 'importable package'
use of namespace because 'ui' is not a pkg as it does not contain __ini__.py
  • Loading branch information
PPN-SD committed Jan 16, 2025
1 parent e5701cd commit ddd0173
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
zip_ok = false

[bdist_wheel]
universal = 1
universal = 0
11 changes: 7 additions & 4 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_packages
from setuptools import setup, find_namespace_packages
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,15 +91,18 @@
classifiers=CLASSIFIERS,
author="Chris McDonough",
author_email="[email protected]",
packages=find_packages(),
packages=find_namespace_packages(exclude=["docs","supervisor.tests","supervisor.tests.*"]),
package_dir={"": "."},
package_data={
"supervisor.ui": ["**/*"],
"supervisor.skel": ["*"]
},
install_requires=requires,
extras_require={
'testing': testing_extras,
},
tests_require=tests_require,
include_package_data=True,
zip_safe=False,
test_suite="supervisor.tests",
entry_points={
'console_scripts': [
'supervisord = supervisor.supervisord:main',
Expand Down

0 comments on commit ddd0173

Please sign in to comment.