mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-07 19:35:01 +02:00
Merge pull request #127 from bertsky/new-namespace-pkg
non-legacy namespace package
This commit is contained in:
commit
721d3f70a0
3 changed files with 2 additions and 5 deletions
|
@ -1 +0,0 @@
|
||||||
__import__("pkg_resources").declare_namespace(__name__)
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -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…
Add table
Add a link
Reference in a new issue