Merge pull request #127 from bertsky/new-namespace-pkg

non-legacy namespace package
pull/108/merge
vahidrezanezhad 7 months ago committed by GitHub
commit 721d3f70a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1 +0,0 @@
__import__("pkg_resources").declare_namespace(__name__)

@ -1,4 +1,4 @@
from setuptools import setup, find_packages from setuptools import setup, find_namespace_packages
from json import load from json import load
install_requires = open('requirements.txt').read().split('\n') install_requires = open('requirements.txt').read().split('\n')
@ -13,8 +13,7 @@ setup(
author='Vahid Rezanezhad', author='Vahid Rezanezhad',
url='https://github.com/qurator-spk/eynollah', url='https://github.com/qurator-spk/eynollah',
license='Apache License 2.0', license='Apache License 2.0',
namespace_packages=['qurator'], packages=find_namespace_packages(include=['qurator']),
packages=find_packages(exclude=['tests']),
install_requires=install_requires, install_requires=install_requires,
package_data={ package_data={
'': ['*.json'] '': ['*.json']

Loading…
Cancel
Save