I would like to make a program x.py
into an executable(.exe) with Pyinstaller
. I am able to do this just fine when x.py
does not depend on any user scripts with:
python pyinstaller.py -w x.py
How can I make this work when I am importing another script I have written, y.py
, into x.py
? I have tried using -p DIR
to specify the path to y.py
like so:
python pyinstaller.py -p \projectfolder -w x.py
But that did not solve the issue.