Tarek Ziadé wrote:
Hi Tim, thanks for the feedback,

this has been fixed in r72758

http://svn.python.org/view/python/trunk/Lib/distutils/command/build_ext.py?r1=72593&r2=72758

'fraid not :)

It was running against r72758 which showed the bug up:
I had to back-track through a few revisions to find what
introduced it.

The attached patch against r72780 "fixes" the problem
(ie makes pywin32 build correctly) but since I've no
real idea what the intention of the code is, I've likewise
no idea of what I might be breaking by doing this :(

TJG
Index: Lib/distutils/command/build_ext.py
===================================================================
--- Lib/distutils/command/build_ext.py  (revision 72780)
+++ Lib/distutils/command/build_ext.py  (working copy)
@@ -652,7 +652,8 @@
             filename = self.get_ext_filename(ext_name)
             return os.path.join(package_dir, filename)
         else:
-            filename = self.get_ext_filename(ext_name)
+            fullname = self.get_ext_fullname(ext_name)
+            filename = self.get_ext_filename(fullname)
             return os.path.join(self.build_lib, filename)
 
     def get_ext_fullname(self, ext_name):
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to