1
# DP: suggest installation of the pythonX.Y-dev package, if bdist_wininst
2
# DP: cannot find the wininst-* files.
4
--- a/Lib/distutils/command/bdist_wininst.py
5
+++ b/Lib/distutils/command/bdist_wininst.py
9
filename = os.path.join(directory, "wininst-%.1f%s.exe" % (bv, sfix))
10
- return open(filename, "rb").read()
12
+ return open(filename, "rb").read()
13
+ except IOError as e:
14
+ raise DistutilsFileError(str(e) + ', please install the python%s-dev package' % sys.version[:3])