Hi,

Is there a way to specify the UPX directory from the spec file? I run 
PyInstaller from a Python script with:

PyInstaller.__main__.run(["main.spec", ])

...so I don't think I can use the --upx-dir option (can't see that clearly 
in the doc). I tried adding the UPX directory to `pathex` thusly:

a = Analysis(['main.py'],
             pathex=[
                 'C:\\Users\\myself\\gits\\myproject\\src',
                 "D:\\upx-3.96-win64",
                 ],
...

...but that didn't work (UPX wasn't found).

Can it be done?

Thanks,

Michel

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/ef16f31b-0923-491f-86ef-6dcee5577c56o%40googlegroups.com.

Reply via email to