aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/build_ext.py
diff options
context:
space:
mode:
authortarek <none@none>2009-09-20 14:45:46 +0200
committertarek <none@none>2009-09-20 14:45:46 +0200
commit19af16b0ec4149f3b00d4e05dfce8ad4f61310e1 (patch)
tree47064d599b135a8c8f70082f748f918c4834b9a6 /setuptools/command/build_ext.py
parent28c9b94a4da7a469bb726309bce461dd0843e744 (diff)
downloadexternal_python_setuptools-19af16b0ec4149f3b00d4e05dfce8ad4f61310e1.tar.gz
external_python_setuptools-19af16b0ec4149f3b00d4e05dfce8ad4f61310e1.tar.bz2
external_python_setuptools-19af16b0ec4149f3b00d4e05dfce8ad4f61310e1.zip
make sure setuptools does like distutils in get_ext_filename fixes #41
--HG-- branch : distribute extra : rebase_source : 4401307be98ca2fb74e715a258b7af74eaa62db2
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r--setuptools/command/build_ext.py2
1 files changed, 2 insertions, 0 deletions
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)