Hartmut,
I found out that it's not possible to change PyInstaller's configuraion
by simply running Configure.py with a different python executable: you
now need to also wipe config.dat before.
That's because find_EXE_dependecies() has been changed to use the
previously-configured Python executable if none was specified on the
command line (for cross-compilation), and only use sys.executable if
config.dat does not exist.
What's the rationale behind this change? I would like to apply this
patch to restore the previous behaviour, but I would like to hear from
you before.
Index: Configure.py
===================================================================
--- Configure.py (revision 602)
+++ Configure.py (working copy)
@@ -41,8 +41,8 @@
def find_EXE_dependencies(config):
global target_platform, target_iswin
print "I: computing EXE_dependencies"
- python = opts.executable or config.get('python') or sys.executable
- target_platform = opts.target_platform or
config.get('target_platform') or sys.platform
+ python = opts.executable or sys.executable
+ target_platform = opts.target_platform or sys.platform
config['python'] = python
config['target_platform'] = target_platform
target_iswin = target_platform[:3] == 'win'
Thanks!
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---