[Distutils] bugs in MSVCCompiler ?

Robin Becker robin@jessikat.demon.co.uk
Mon, 17 Jan 2000 11:35:55 +0000


I've just found what appears to be a bug in 0.1.2 in the MSVCCompiler
class.

at line 267 the library_filename functions should look like

    def library_filename (self, libname):
        """Return the static library filename corresponding to the
           specified library name."""
        return "%s%s" %( libname, self._static_lib_ext )

    def shared_library_filename (self, libname):
        """Return the shared library filename corresponding to the
           specified library name."""
        return "%s%s" %( libname, self._shared_lib_ext )


the original format strings were "lib%s%s" leading to errors such as
trying to use libpython15.lib during the build.
-- 
Robin Becker