Changeset 391 for python/trunk/PC/VS8.0/build_ssl.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/PC/VS8.0/build_ssl.py
r2 r391 9 9 # any other external packages there. 10 10 # * Install ActivePerl and ensure it is somewhere on your path. 11 # * Run this script from the PC Builddirectory.11 # * Run this script from the PC/VS8.0 directory. 12 12 # 13 13 # it should configure and build SSL, then build the _ssl and _hashlib … … 47 47 def find_working_perl(perls): 48 48 for perl in perls: 49 fh = os.popen( perl + ' -e "use Win32;"')49 fh = os.popen('"%s" -e "use Win32;"' % perl) 50 50 fh.read() 51 51 rc = fh.close() … … 179 179 perls = find_all_on_path("perl.exe", ["\\perl\\bin", "C:\\perl\\bin"]) 180 180 perl = find_working_perl(perls) 181 if perl is None: 181 if perl: 182 print("Found a working perl at '%s'" % (perl,)) 183 else: 182 184 print("No Perl installation was found. Existing Makefiles are used.") 183 184 print("Found a working perl at '%s'" % (perl,))185 185 sys.stdout.flush() 186 # Look for SSL 2 levels up from pcbuild- ie, same place zlib etc all live.186 # Look for SSL 3 levels up from PC/VS8.0 - ie, same place zlib etc all live. 187 187 ssl_dir = find_best_ssl_dir(("..\\..\\..",)) 188 188 if ssl_dir is None:
Note:
See TracChangeset
for help on using the changeset viewer.