strip path from glob

This commit is contained in:
Jakob Ketterl 2019-12-08 21:46:08 +01:00
parent 4e99a3ad07
commit f4106ee427

View File

@ -7,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": glob("htdocs/**/*", recursive=True) "htdocs": [f[len("htdocs/"):] for f in 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