[python-win32] Distutils changes broke pywin32 build
Tim Golden
mail at timgolden.me.uk
Tue May 19 14:43:48 CEST 2009
Something in the changes to build_ext.py in r72585
has broken the setup.py build for pywin32:
http://svn.python.org/view/python/trunk/Lib/distutils/command/build_ext.py?r1=72531&r2=72585&pathrev=72585
The symptom is that pywintypes.lib is created in the
build directory, but distutils is then looking to
copy pywintypes27.lib (note the version suffix):
error: can't copy 'build\temp.win32-2.7\Release\win32\src\pywintypes27.lib': doesn't exist or not a regular file
The error is also present in the release26-maint branch.
I've just started to try to work out where exactly the problem
lies and whether it's an ill-tested distutils change or a false
assumption in the pywin32 setup.py. Or something else.
Since distutils is a notorious maze of twisty modules, all alike,
and since the pywin32 setup.py is hardly a model of simplicity,
if anyone has immediate insights I'd be glad to hear them.
Thanks
TJG
More information about the python-win32
mailing list