
Tarek Ziadé wrote:
On Tue, May 19, 2009 at 5:01 PM, Tim Golden <mail@timgolden.me.uk> wrote:
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):
Ok I see what's wrong. I am writing a test + fix right away.
build_ext and all the compiling code is still really undertested in Distutils. I've kinda opened a can of worms since I am working on the compilers part of the package.
I'll let you know when it's fixed.
Thanks. Happy to run it through my "buildman" to check it covers that case. TJG