diff options
author | Steve Dower <steve.dower@microsoft.com> | 2014-11-22 12:54:57 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2014-11-22 12:54:57 -0800 |
commit | 65e4cb10d9d9964f30bc72561bf0e86833328a3b (patch) | |
tree | 1c9502ea790480e2ea06b380d912eeb879b2f96d /PC/python35gen.py | |
parent | 92716777b862af05bf149bd02cac4d83234751c4 (diff) | |
download | cpython-git-65e4cb10d9d9964f30bc72561bf0e86833328a3b.tar.gz |
Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Diffstat (limited to 'PC/python35gen.py')
-rw-r--r-- | PC/python35gen.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/PC/python35gen.py b/PC/python35gen.py deleted file mode 100644 index 609cb9d22f..0000000000 --- a/PC/python35gen.py +++ /dev/null @@ -1,26 +0,0 @@ -# Generate python35stub.def out of python3.def -# The regular import library cannot be used, -# since it doesn't provide the right symbols for -# data forwarding -out = open("python35stub.def", "w") -out.write('LIBRARY "python35"\n') -out.write('EXPORTS\n') - -inp = open("python3.def") -line = inp.readline() -while line.strip().startswith(';'): - line = inp.readline() -line = inp.readline() # LIBRARY -assert line.strip()=='EXPORTS' - -for line in inp: - # SYM1=python35.SYM2[ DATA] - head, tail = line.split('.') - if 'DATA' in tail: - symbol, tail = tail.split(' ') - else: - symbol = tail.strip() - out.write(symbol+'\n') - -inp.close() -out.close() |