Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-legacy namespace package #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions __init__.py

This file was deleted.

1 change: 0 additions & 1 deletion qurator/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion qurator/wikidata/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)
1 change: 0 additions & 1 deletion qurator/wikipedia/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
__import__('pkg_resources').declare_namespace(__name__)
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from io import open
from setuptools import find_packages, setup
from setuptools import find_namespace_packages, setup

with open('requirements.txt') as fp:
install_requires = fp.read()
Expand All @@ -15,8 +15,7 @@
keywords='Qurator',
license='Apache',
url="https://github.com/qurator-spk/sbb_knowledge-base",
packages=find_packages(exclude=["*.tests", "*.tests.*",
"tests.*", "tests"]),
packages=find_namespace_packages(include=['qurator']),
install_requires=install_requires,
entry_points={
'console_scripts': [
Expand Down