From f4106ee427396c63771d5922bbbc167401f3e9a8 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 8 Dec 2019 21:46:08 +0100 Subject: [PATCH] strip path from glob --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b18a7b7..ce53000 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( version=str(strictversion), packages=find_namespace_packages(include=["owrx", "csdr", "htdocs"]), 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"]}, # use the github page for now