Skip to content

Commit

Permalink
Revert "Python: Fix "implicit namespace packages" migration"
Browse files Browse the repository at this point in the history
This reverts commit f717e7f.
  • Loading branch information
amotl committed Nov 21, 2024
1 parent f717e7f commit dc00c61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import os
import re

from setuptools import find_namespace_packages, setup
from setuptools import setup

requirements = [
'colorama<1',
Expand Down Expand Up @@ -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': [
Expand Down
Empty file added src/crate/__init__.py
Empty file.

0 comments on commit dc00c61

Please sign in to comment.