From 706433c5049c63c6e16fee5f71d81a7e507abe06 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Sat, 10 Jun 2023 22:19:22 +0200 Subject: [PATCH] Revert "Merge pull request #97 from qurator-spk/420-namespace-package" This reverts commit fd56b86acf55677dc7a8bfb9e2737c3cc167327a, reversing changes made to ea792d1e4ac4a722770b82dc91e71f84d5beb212. --- qurator/__init__.py | 1 + setup.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qurator/__init__.py b/qurator/__init__.py index e69de29..5284146 100644 --- a/qurator/__init__.py +++ b/qurator/__init__.py @@ -0,0 +1 @@ +__import__("pkg_resources").declare_namespace(__name__) diff --git a/setup.py b/setup.py index 807eae7..9abf158 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -from setuptools import find_namespace_packages, find_packages, setup +from setuptools import setup, find_packages from json import load install_requires = open('requirements.txt').read().split('\n') @@ -13,6 +13,7 @@ setup( author='Vahid Rezanezhad', url='https://github.com/qurator-spk/eynollah', license='Apache License 2.0', + namespace_packages=['qurator'], packages=find_packages(exclude=['tests']), install_requires=install_requires, package_data={