Author: bugman Date: Tue Sep 6 16:44:30 2011 New Revision: 14599 URL: http://svn.gna.org/viewcvs/relax?rev=14599&view=rev Log: Improved the print outs of the scons 'binary_dist' target for Mac OS X. 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=14599&r1=14598&r2=14599&view=diff ============================================================================== --- 1.3/scons/distrib.py (original) +++ 1.3/scons/distrib.py Tue Sep 6 16:44:30 2011 @@ -103,11 +103,17 @@ # Create the special Mac OS X DMG file and then stop execution. if dist_type == 'dmg': # Create the Mac OS X universal application. - pipe = Popen('python setup.py py2app', shell=True, stdin=PIPE, close_fds=False) + print("\n# Creating the Mac OS X universal application.\n\n") + cmd = 'python setup.py py2app' + print("%s\n" % cmd) + pipe = Popen(cmd, shell=True, stdin=PIPE, close_fds=False) waitpid(pipe.pid, 0) # Create the dmg image. - pipe = Popen('hdiutil create -fs HFS+ -volname "relax" -srcfolder dist/relax.app %s' % file, shell=True, stdin=PIPE, close_fds=False) + print("\n\n# Creating the DMG image.\n\n") + cmd = 'hdiutil create -fs HFS+ -volname "relax" -srcfolder dist/relax.app %s' % file + print("%s\n" % cmd) + pipe = Popen(cmd, shell=True, stdin=PIPE, close_fds=False) waitpid(pipe.pid, 0) # Stop executing.