explicitly glob over the htdocs

This commit is contained in:
Jakob Ketterl 2019-12-08 21:37:14 +01:00
parent 57a61f0c40
commit 4e99a3ad07

View File

@ -1,3 +1,4 @@
from glob import glob
from setuptools import setup, find_namespace_packages from setuptools import setup, find_namespace_packages
from owrx.version import strictversion from owrx.version import strictversion
@ -6,7 +7,7 @@ setup(
version=str(strictversion), version=str(strictversion),
packages=find_namespace_packages(include=["owrx", "csdr", "htdocs"]), packages=find_namespace_packages(include=["owrx", "csdr", "htdocs"]),
package_data={ package_data={
"htdocs": ["*", "**/*"] "htdocs": glob("htdocs/**/*", recursive=True)
}, },
entry_points={"console_scripts": ["openwebrx=owrx.__main__:main"]}, entry_points={"console_scripts": ["openwebrx=owrx.__main__:main"]},
# use the github page for now # use the github page for now