fix data file inclusion in source distributions

This commit is contained in:
Mike Fährmann
2019-11-09 00:00:40 +01:00
parent 6c86fbfe2a
commit ce98a86c0e
8 changed files with 19 additions and 19 deletions

View File

@@ -47,7 +47,7 @@ for action in option.build_parser()._actions:
if opt.startswith("--"):
opts.append(opt)
PATH = util.path("build/completion/gallery-dl")
PATH = util.path("data/completion/gallery-dl")
with open(PATH, "w", encoding="utf-8") as file:
file.write(TEMPLATE % {
"opts" : " ".join(opts),