[Distutils] MSVC CRT woes

Thomas Heller theller at python.net
Fri Feb 20 10:13:07 EST 2004


"M.-A. Lemburg" <mal at egenix.com> writes:

> That said, I think that including two wininst versions, one
> compiled with VC6, the other with VC7, would solve this problem
> nicely.  You'd still have to have VC6/7 for compiling C extensions,
> but at least generating pure Python distutils wininst packages
> would remain possible.

I'm currently working on this.

distutils.msvccompiler.get_build_version() returns the MSVC version
number as float, so I would suggest we name the wininst.exe according to
this schema
  "wininst-%s.exe" % msvccompiler.get_build_version()

wininst-6.0.exe and wininst-7.1.exe binaries would be provided with
python (and distutils, if this is distributed separately again).

Thomas




More information about the Distutils-SIG mailing list