[python-win32] Distutils changes broke pywin32 build

Michael Foord fuzzyman at gmail.com
Tue May 19 15:43:17 CEST 2009

Distutils is undergoing heavy changes in the hands of Tarek Ziade. One of
the changes is drastically improving the test coverage.

I would definitely discuss the problem with him (directly or on
distutils-sig) as he will want to know about it - either to explain why the
change is necessary and help you modify the pywin32 setup.py or to revert
the change.

Michael Foord

2009/5/19 Tim Golden <mail at timgolden.me.uk>

> 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
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090519/bcb03dba/attachment.htm>

More information about the python-win32 mailing list