mailr15670 - /1.3/scons/distrib.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 03, 2012 - 21:00:
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)




Related Messages


Powered by MHonArc, Updated Tue Apr 03 21:20:01 2012