summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-01-15 17:52:23 +0000
committerphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-01-15 17:52:23 +0000
commit4b539b7e907505e361f0d504def823d308dba4c7 (patch)
tree7c6eaa63f8c5b603b87685fc4197a76a415962a1 /setuptools/command
parentb346ff56fa511128226c6fd570257f10ba354389 (diff)
downloadpython-setuptools-4b539b7e907505e361f0d504def823d308dba4c7.tar.gz
Update Pyrex/swig_sources workaround for newer Pyrex versions
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@59982 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py
index f8551fb..b57b825 100644
--- a/setuptools/command/build_ext.py
+++ b/setuptools/command/build_ext.py
@@ -70,7 +70,7 @@ class build_ext(_build_ext):
self.write_stub(package_dir or os.curdir, ext, True)
- if _build_ext is not _du_build_ext:
+ if _build_ext is not _du_build_ext and not hasattr(_build_ext,'pyrex_sources'):
# Workaround for problems using some Pyrex versions w/SWIG and/or 2.4
def swig_sources(self, sources, *otherargs):
# first do any Pyrex processing