From 19af16b0ec4149f3b00d4e05dfce8ad4f61310e1 Mon Sep 17 00:00:00 2001 From: tarek Date: Sun, 20 Sep 2009 14:45:46 +0200 Subject: make sure setuptools does like distutils in get_ext_filename fixes #41 --HG-- branch : distribute extra : rebase_source : 4401307be98ca2fb74e715a258b7af74eaa62db2 --- setuptools/command/build_ext.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setuptools/command/build_ext.py') diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index c0aaa8e8..a60ede0c 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -82,6 +82,8 @@ class build_ext(_build_ext): def get_ext_filename(self, fullname): filename = _build_ext.get_ext_filename(self,fullname) + if fullname not in self.ext_map: + return filename ext = self.ext_map[fullname] if isinstance(ext,Library): fn, ext = os.path.splitext(filename) -- cgit v1.2.3