diff --git a/CHANGES.txt b/CHANGES.txt index 05fa99c..039bc65 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -5,10 +5,8 @@ Changes for crash Unreleased ========== - Python: Migrated to use "implicit namespace packages" instead of "declared - namespaces" for the ``crate`` namespace package, see `PEP 420`_ - and `Package Discovery and Namespace Package » Finding namespace packages`_. + namespaces" for the ``crate`` namespace package, see `PEP 420`_. -.. _Package Discovery and Namespace Package » Finding namespace packages: https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#namespace-packages .. _PEP 420: https://peps.python.org/pep-0420/ 2024/04/24 0.31.5 diff --git a/setup.py b/setup.py index d6a71af..eb5697f 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ import os import re -from setuptools import find_namespace_packages, setup +from setuptools import setup requirements = [ 'colorama<1', @@ -67,7 +67,7 @@ def read(path): platforms=['any'], license='Apache License 2.0', keywords='cratedb db data client shell', - packages=find_namespace_packages("src"), + packages=['crate.crash'], package_dir={"": "src"}, entry_points={ 'console_scripts': [ diff --git a/src/crate/__init__.py b/src/crate/__init__.py new file mode 100644 index 0000000..e69de29