diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..f3a936ba --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +global-exclude *.pyc +global-exclude __pycache__ +recursive-include vital/* *.yaml diff --git a/setup.py b/setup.py index d1f65d4c..eadb3591 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os import pathlib -from setuptools import find_packages, setup +from setuptools import find_namespace_packages, find_packages, setup # https://packaging.python.org/guides/single-sourcing-package-version/ # http://blog.ionelmc.ro/2014/05/25/python-packaging/ @@ -55,7 +55,7 @@ def load_long_description(): # noqa: D103 author_email="nathan.painchaud@usherbrooke.ca", url="https://github.com/nathanpainchaud/vital", license="Apache-2.0", - packages=find_packages(), + packages=find_namespace_packages(include=["hydra_plugins.*"]) + find_packages(), long_description=load_long_description(), long_description_content_type="text/markdown", python_requires=">=3.10", @@ -73,4 +73,5 @@ def load_long_description(): # noqa: D103 "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", ], + include_package_data=True, )