Skip to content

Commit

Permalink
Fix updated pyinstaller "empty DEST" issue
Browse files Browse the repository at this point in the history
Current version of pyinstaller cannot accept an empty DESTINATION, assuming current directory.
pyinstaller/pyinstaller#3066.
This affects "hook-yara.py", "hook-distorm3.py" and "hook-openpyxl.py"
  • Loading branch information
mattura authored Nov 6, 2018
1 parent 4821ab6 commit 6e3b2e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyinstaller/hook-yara.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"), "."))

0 comments on commit 6e3b2e8

Please sign in to comment.