[Distutils] Compiling / Installing extensions

Robin Becker robin@jessikat.demon.co.uk
Mon, 7 Feb 2000 11:04:35 +0000


In article <9qtONDAat+m4Ewsg@jessikat.demon.co.uk>, Robin Becker
<robin@jessikat.demon.co.uk> writes
...

the change to get the initXXX exported currently needs to be done in
build_extensions at the point where the check for a .def file is done.

In my view it is wrong for the compiler specific stuff to be anywhere
other than the specific compiler file, but there you go.

so in build_ext.py line 225 should look like

            if self.compiler.compiler_type == 'msvc':
                extra_args.append('/export:init%s'%extension_name)


What's the point of all the definitions in msvccompiler if they aren't
used? 
-- 
Robin Becker