We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78bd444 commit 2963f2cCopy full SHA for 2963f2c
setup.py
@@ -2,7 +2,7 @@
2
import re
3
from pathlib import Path
4
5
-from setuptools import find_packages
+from setuptools import find_namespace_packages
6
from setuptools import setup
7
8
@@ -23,8 +23,9 @@ def read(*names, **kwargs):
23
author="Altimate Inc",
24
author_email="info@altimate.ai",
25
url="https://github.com/AltimateAI/datapilot-cli",
26
- packages=find_packages("src"),
+ packages=find_namespace_packages(where="src"), # Use find_namespace_packages
27
package_dir={"": "src"},
28
+ namespace_packages=["datapilot"],
29
py_modules=[path.stem for path in Path("src").glob("*.py")],
30
include_package_data=True,
31
zip_safe=False,
src/datapilot/__init__.py
0 commit comments