Author: bugman
Date: Tue Apr 3 21:00:02 2012
New Revision: 15670
URL: http://svn.gna.org/viewcvs/relax?rev=15670&view=rev
Log:
Fix for the scons binary_dist target on Mac OS X systems with multiple Python
versions.
Now the py2app program is called with the same python version as used by scons.
Modified:
1.3/scons/distrib.py
Modified: 1.3/scons/distrib.py
URL:
http://svn.gna.org/viewcvs/relax/1.3/scons/distrib.py?rev=15670&r1=15669&r2=15670&view=diff
==============================================================================
--- 1.3/scons/distrib.py (original)
+++ 1.3/scons/distrib.py Tue Apr 3 21:00:02 2012
@@ -1,6 +1,6 @@
###############################################################################
# #
-# Copyright (C) 2006-2011 Edward d'Auvergne #
+# Copyright (C) 2006-2012 Edward d'Auvergne #
# #
# This file is part of the program relax. #
# #
@@ -104,7 +104,7 @@
if dist_type == 'dmg':
# Create the Mac OS X universal application.
print("\n# Creating the Mac OS X universal application.\n\n")
- cmd = 'python setup.py py2app'
+ cmd = '%s setup.py py2app' % sys.executable
print("%s\n" % cmd)
pipe = Popen(cmd, shell=True, stdin=PIPE, close_fds=False)
waitpid(pipe.pid, 0)
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits