[wpdev-commits] wolfpack configure.py,1.37,1.38
Brought to you by:
rip,
thiagocorrea
From: Correa <thi...@us...> - 2004-10-19 18:44:20
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20727 Modified Files: configure.py Log Message: Attempt to get configure.py to work on Fedora and Solaris. Index: configure.py =================================================================== RCS file: /cvsroot/wpdev/wolfpack/configure.py,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** configure.py 24 Sep 2004 04:47:23 -0000 1.37 --- configure.py 19 Oct 2004 18:44:09 -0000 1.38 *************** *** 1,3 **** ! #!/usr/bin/env python2.3 ################################################################# # ) (\_ # Wolfpack 13.0.0 Build Script # --- 1,3 ---- ! #!/usr/bin/env python ################################################################# # ) (\_ # Wolfpack 13.0.0 Build Script # *************** *** 14,18 **** import string import distutils.sysconfig ! from optparse import OptionParser # These are the variables we are trying to figure out --- 14,23 ---- import string import distutils.sysconfig ! try: ! from optparse import OptionParser ! except: ! sys.path.append( './tools/scripts' ) ! from optparse import OptionParser ! # These are the variables we are trying to figure out *************** *** 227,235 **** sys.stdout.write( "Checking Python version... " ) ! if sys.hexversion >= 0x020300F0: sys.stdout.write(green("ok\n")) else: sys.stdout.write( red("failed") + "\n" ) ! sys.stdout.write( bold("Wolfpack requires Python version greater than 2.3.0 ") ) sys.exit(); --- 232,240 ---- sys.stdout.write( "Checking Python version... " ) ! if sys.hexversion >= 0x020200F0: sys.stdout.write(green("ok\n")) else: sys.stdout.write( red("failed") + "\n" ) ! sys.stdout.write( bold("Wolfpack requires Python version greater than 2.2.0 ") ) sys.exit(); |