From 6426ef9369f80674e5d93db7cb7baefdd0df7c47 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 21 Nov 2024 23:51:23 +0100 Subject: [PATCH] Revert "Python: Fix "implicit namespace packages" migration" This reverts commit f717e7fbe66a8c4ea7de6576067e3c7cb9beb6fe. --- setup.py | 4 ++-- src/crate/__init__.py | 0 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 src/crate/__init__.py diff --git a/setup.py b/setup.py index d6a71af0..eb5697fa 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 00000000..e69de29b