Author: bugman Date: Thu May 3 15:19:17 2012 New Revision: 15898 URL: http://svn.gna.org/viewcvs/relax?rev=15898&view=rev Log: The scons 'install' target now creates both *.pyc and *.pyo files during installation. Modified: 1.3/scons/install.py Modified: 1.3/scons/install.py URL: http://svn.gna.org/viewcvs/relax/1.3/scons/install.py?rev=15898&r1=15897&r2=15898&view=diff ============================================================================== --- 1.3/scons/install.py (original) +++ 1.3/scons/install.py Thu May 3 15:19:17 2012 @@ -114,7 +114,7 @@ # Run relax to create the *.pyc files. print("\nCreating the byte-compiled *.pyc files.") python_path = sys.prefix + path.sep + 'bin' + path.sep + 'python' + `sys.version_info[0]` + '.' + `sys.version_info[1]` - cmd = "cd %s; %s -m compileall ." % (env['RELAX_PATH'], python_path) + cmd = "cd %s; %s -m compileall . ; %s -O -m compileall ." % (env['RELAX_PATH'], python_path, python_path) print(cmd) system(cmd)