Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/PC/VS8.0/build_ssl.py

    r2 r391  
    99#   any other external packages there.
    1010# * Install ActivePerl and ensure it is somewhere on your path.
    11 # * Run this script from the PCBuild directory.
     11# * Run this script from the PC/VS8.0 directory.
    1212#
    1313# it should configure and build SSL, then build the _ssl and _hashlib
     
    4747def find_working_perl(perls):
    4848    for perl in perls:
    49         fh = os.popen(perl + ' -e "use Win32;"')
     49        fh = os.popen('"%s" -e "use Win32;"' % perl)
    5050        fh.read()
    5151        rc = fh.close()
     
    179179    perls = find_all_on_path("perl.exe", ["\\perl\\bin", "C:\\perl\\bin"])
    180180    perl = find_working_perl(perls)
    181     if perl is None:
     181    if perl:
     182        print("Found a working perl at '%s'" % (perl,))
     183    else:
    182184        print("No Perl installation was found. Existing Makefiles are used.")
    183 
    184     print("Found a working perl at '%s'" % (perl,))
    185185    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.
    187187    ssl_dir = find_best_ssl_dir(("..\\..\\..",))
    188188    if ssl_dir is None:
Note: See TracChangeset for help on using the changeset viewer.