Skip to content

Commit

Permalink
meh
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra committed Dec 23, 2023
1 parent 5e78105 commit b69cf02
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions betty/_package/pyinstaller/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ async def a_pyz_exe_coll() -> tuple[Analysis, PYZ, EXE, COLLECT]:
await _build_assets()
root = Path(__file__).parents[3]
block_cipher = None
datas = [
# @todo We cannot seem to put this alongside the executable. We need some top-level instructions.
(str((Path(__file__).parent / 'datas' / sys.platform / 'README.txt').relative_to(root)), '.')
]
datas = []
for module_name, file_paths in get_data_paths().items():
for file_path in file_paths:
data_file_path = (Path(inspect.getfile(import_module(module_name))).parent / file_path).relative_to(root)
Expand Down

0 comments on commit b69cf02

Please sign in to comment.