diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..b149e8ae --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,18 @@ +include LICENSE +include README.md + +recursive-include geocat *.py +recursive-exclude * __pycache__ +recursive-exclude * *.py[co] +exclude .gitignore +exclude .pre-commit-config.yaml +exclude .readthedocs.yml + +include *.md +include *.toml +include *.yaml +include *.txt +prune test* +prune .github* +prune docs* +prune build_envs* diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 315e409d..31d2d94f 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -16,6 +16,7 @@ Internal Changes ^^^^^^^^^^^^^^^^ * Switch to PyPI Trusted Publishing by `Orhan Eroglu`_ in (:pr:`208`) * Add ``linkcheck_ignore`` to ``docs/conf.py`` to address erroneous failures and add CI badge to README by `Katelyn FitzGerald`_ in (:pr:`218`) +* Convert to implicit namespace packaging set up by `Anissa Zacharias`_ in (:pr:`220`) v2024.02.0 (February 6, 2024) ----------------------------- @@ -123,3 +124,4 @@ Documentation .. _`Katelyn Fitzgerald`: https://github.com/kafitzgerald .. _`Simon Rosanka`: https://github.com/srosanka .. _`Orhan Eroglu`: https://github.com/erogluorhan +.. _`Anissa Zacharias`: https://github.com/anissa111 diff --git a/setup.cfg b/setup.cfg index 302e7692..5c5e6a18 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,9 +29,7 @@ include_package_data = True python_requires = >=3.9, <3.13 package_dir = =src -packages = - geocat - geocat.viz +packages = find_namespace: setup_requires = setuptools_scm setuptools @@ -46,6 +44,9 @@ install_requires = scikit-learn metpy +[options.packages.find] +where = src + [options.extras_require] docs = ipykernel diff --git a/src/geocat/__init__.py b/src/geocat/__init__.py deleted file mode 100644 index de40ea7c..00000000 --- a/src/geocat/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__)