Skip to content
Snippets Groups Projects
Commit d821ca23 authored by Martin Bergemann's avatar Martin Bergemann :speech_balloon:
Browse files

Make datafile relative path

parent 13520309
No related branches found
No related tags found
1 merge request!44Better packaging
Pipeline #20480 failed
......@@ -120,7 +120,7 @@ def get_data_files() -> List[str]:
files = []
for d in dirs:
target_dir = Path("share") / "freva" / "deployment" / d.relative_to(ASSET_DIR)
add_files = [str(f) for f in d.rglob("*") if f.is_file()]
add_files = [str(f.relative_to(ASSET_DIR) for f in d.rglob("*") if f.is_file()]
if add_files:
files.append((str(target_dir), add_files))
return files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment