Ticket #27909: relax.patch
File relax.patch, 1.4 KB (added by howarth@…, 14 years ago) |
---|
-
relax
old new 1 #! /usr/bin/env python1 #!@PREFIX@/bin/python2.6 2 2 3 3 ############################################################################### 4 4 # # -
sconstruct
old new 98 98 SYS = SYSTEM 99 99 100 100 # Mac OS X installation path. 101 INSTALL_PATH = sys.prefix + sep + 'local'101 INSTALL_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'lib' 102 102 103 103 104 104 # All other operating systems. … … 118 118 RELAX_PATH = INSTALL_PATH + sep + 'relax' 119 119 120 120 # Installation path for binaries. 121 BIN_PATH = INSTALL_PATH+ sep + 'bin'121 BIN_PATH = '@DEST_ROOT@@PREFIX@' + sep + 'bin' 122 122 123 123 # Symbolic link installation path. 124 124 SYMLINK = BIN_PATH + sep + 'relax' 125 125 126 126 127 128 127 # The distribution files. 129 128 ######################### 130 129 -
scons/install.py
old new 112 112 ############### 113 113 114 114 # Run relax to create the *.pyc files. 115 print("\nRunning relax to create the byte-compiled *.pyc files.")116 system(env['SYMLINK'] + " --test")115 # print("\nRunning relax to create the byte-compiled *.pyc files.") 116 # system(env['SYMLINK'] + " --test") 117 117 118 118 # Final print out. 119 119 print("\n\n\n")