Hey everyone,
I have a script (that I'd like to freeze) which generates a setup.py file,
then calls 'python setup.py [some args]' to build a Python egg, e.g.:
# Generate setup.py here
if getattr(sys, 'frozen', False):
exe = sys.executable
else:
exe = 'python'
subprocess.check_call(
[exe, 'setup.py', 'clean', '-a', 'bdist_egg', '-d', 'build_dir'],
)
In the frozen version, the subprocess line fails since it cannot find the
'python' executable. I see that 'python27.dll' is bundled, but there's no
'python.exe' (I'm trying this on Windows right now but it'll be
cross-platform later, python version is fixed at 2.7). Is it possible to
bundle a 'python.exe', or get a fresh interpreter in another fashion?
Thanks and Cheers,
-Jakob
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.