diff --git a/pyinstaller/hook-distorm3.py b/pyinstaller/hook-distorm3.py index 883f5ac82..65cf61fa5 100755 --- a/pyinstaller/hook-distorm3.py +++ b/pyinstaller/hook-distorm3.py @@ -16,7 +16,7 @@ for path in sys.path: if os.path.exists(os.path.join(path, "distorm3", "distorm3.dll")): - datas.append((os.path.join(path, "distorm3", "distorm3.dll"), "")) + datas.append((os.path.join(path, "distorm3", "distorm3.dll"), ".")) if os.path.exists(os.path.join(path, "distorm3", "libdistorm3.so")): - datas.append((os.path.join(path, "distorm3", "libdistorm3.so"), "")) + datas.append((os.path.join(path, "distorm3", "libdistorm3.so"), ".")) diff --git a/pyinstaller/hook-openpyxl.py b/pyinstaller/hook-openpyxl.py index 8174c176a..9d8b69346 100755 --- a/pyinstaller/hook-openpyxl.py +++ b/pyinstaller/hook-openpyxl.py @@ -16,4 +16,4 @@ for path in sys.path: if os.path.exists(os.path.join(path, "openpyxl", ".constants.json")): - datas.append((os.path.join(path, "openpyxl", ".constants.json"), "")) + datas.append((os.path.join(path, "openpyxl", ".constants.json"), ".")) diff --git a/pyinstaller/hook-yara.py b/pyinstaller/hook-yara.py index 7481404d6..405e76230 100644 --- a/pyinstaller/hook-yara.py +++ b/pyinstaller/hook-yara.py @@ -5,6 +5,6 @@ for path in sys.path: if os.path.exists(os.path.join(path, "yara.pyd")): - datas.append((os.path.join(path, "yara.pyd"), "")) + datas.append((os.path.join(path, "yara.pyd"), ".")) if os.path.exists(os.path.join(path, "yara.so")): - datas.append((os.path.join(path, "yara.so"), "")) + datas.append((os.path.join(path, "yara.so"), "."))