Port to VS 2010.

This commit is contained in:
Martin v. Löwis 2012-05-18 14:20:04 +02:00
parent 207c4b686c
commit d18c397ed6

View file

@ -65,9 +65,9 @@ def find_working_perl(perls):
# Fetch SSL directory from VC properties # Fetch SSL directory from VC properties
def get_ssl_dir(): def get_ssl_dir():
propfile = (os.path.join(os.path.dirname(__file__), 'pyproject.vsprops')) propfile = (os.path.join(os.path.dirname(__file__), 'pyproject.props'))
with open(propfile) as f: with open(propfile) as f:
m = re.search('openssl-([^"]+)"', f.read()) m = re.search('openssl-([^<]+)<', f.read())
return "..\..\openssl-"+m.group(1) return "..\..\openssl-"+m.group(1)