Skip to content

Commit 2963f2c

Browse files
committed
Make datapilot namespaced
1 parent 78bd444 commit 2963f2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import re
33
from pathlib import Path
44

5-
from setuptools import find_packages
5+
from setuptools import find_namespace_packages
66
from setuptools import setup
77

88

@@ -23,8 +23,9 @@ def read(*names, **kwargs):
2323
author="Altimate Inc",
2424
author_email="[email protected]",
2525
url="https://github.com/AltimateAI/datapilot-cli",
26-
packages=find_packages("src"),
26+
packages=find_namespace_packages(where="src"), # Use find_namespace_packages
2727
package_dir={"": "src"},
28+
namespace_packages=["datapilot"],
2829
py_modules=[path.stem for path in Path("src").glob("*.py")],
2930
include_package_data=True,
3031
zip_safe=False,

src/datapilot/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)