Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ replace = version="{new_version}"
search = version = release = "{current_version}"
replace = version = release = "{new_version}"

[bumpversion:file:src/datapilot/__init__.py]
[bumpversion:file:src/datapilot/cli/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ docs/_build

# Mypy Cache
.mypy_cache/
.aider*
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.

1 change: 1 addition & 0 deletions src/datapilot/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.15"
7 changes: 7 additions & 0 deletions src/datapilot/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ def datapilot():


datapilot.add_command(dbt)

try:
from datapilot.ingestion.cli import ingest

datapilot.add_command(ingest)
except ImportError:
pass