Skip to content

Commit

Permalink
Make datapilot namespaced
Browse files Browse the repository at this point in the history
  • Loading branch information
mdesmet committed Feb 12, 2025
1 parent 78bd444 commit 2963f2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
from pathlib import Path

from setuptools import find_packages
from setuptools import find_namespace_packages
from setuptools import setup


Expand All @@ -23,8 +23,9 @@ def read(*names, **kwargs):
author="Altimate Inc",
author_email="[email protected]",
url="https://github.com/AltimateAI/datapilot-cli",
packages=find_packages("src"),
packages=find_namespace_packages(where="src"), # Use find_namespace_packages
package_dir={"": "src"},
namespace_packages=["datapilot"],
py_modules=[path.stem for path in Path("src").glob("*.py")],
include_package_data=True,
zip_safe=False,
Expand Down
1 change: 0 additions & 1 deletion src/datapilot/__init__.py

This file was deleted.

0 comments on commit 2963f2c

Please sign in to comment.