mirror of
https://github.com/python/cpython.git
synced 2025-11-20 10:57:44 +00:00
Port to VS 2010.
This commit is contained in:
parent
207c4b686c
commit
d18c397ed6
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue