fix for proper namespace package cryptoadvance (#524)

This commit is contained in:
Kim Neunert 2020-10-17 14:19:20 +02:00 committed by GitHub
parent a2cf195561
commit 0282c44b65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
from glob import glob
from setuptools import find_packages, setup
from setuptools import find_namespace_packages, setup
with open("requirements.txt") as f:
install_reqs = f.read().strip().split("\n")
@ -26,7 +26,7 @@ setup(
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cryptoadvance/specter-desktop",
packages=find_packages("src"),
packages=find_namespace_packages("src", include=["cryptoadvance.*"]),
package_dir={"": "src"},
# take METADATA.in into account, include that stuff as well (static/templates)
include_package_data=True,