summaryrefslogtreecommitdiff
path: root/PC/python35gen.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2014-11-22 12:54:57 -0800
committerSteve Dower <steve.dower@microsoft.com>2014-11-22 12:54:57 -0800
commit65e4cb10d9d9964f30bc72561bf0e86833328a3b (patch)
tree1c9502ea790480e2ea06b380d912eeb879b2f96d /PC/python35gen.py
parent92716777b862af05bf149bd02cac4d83234751c4 (diff)
downloadcpython-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.py26
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()