diff --git a/setup.cfg b/setup.cfg index f188e72a..c791b295 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,6 @@ classifiers = [options] zip_safe = False -packages = find: include_package_data = True package_dir = =src diff --git a/setup.py b/setup.py index c1f28b0d..0ad7ea97 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ import sys from pkg_resources import VersionConflict, require -from setuptools import setup +from setuptools import setup, find_namespace_packages try: require('setuptools>=38.3') @@ -19,4 +19,4 @@ sys.exit(1) if __name__ == "__main__": - setup(use_pyscaffold=True) + setup(use_pyscaffold=True, packages=find_namespace_packages(where='src')) diff --git a/src/panoptes/__init__.py b/src/panoptes/__init__.py deleted file mode 100644 index de40ea7c..00000000 --- a/src/panoptes/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__)