aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/extension.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/extension.py')
-rw-r--r--setuptools/extension.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/setuptools/extension.py b/setuptools/extension.py
index 980ee0a7..b5a0702b 100644
--- a/setuptools/extension.py
+++ b/setuptools/extension.py
@@ -5,12 +5,12 @@ _Extension = _get_unpatched(_Extension)
# Prefer Cython to Pyrex
pyrex_impls = 'Cython.Distutils.build_ext', 'Pyrex.Distutils.build_ext'
for pyrex_impl in pyrex_impls:
- try:
- # from (pyrex_impl) import build_ext
- build_ext = __import__(pyrex_impl, fromlist=['build_ext']).build_ext
- break
- except:
- pass
+ try:
+ # from (pyrex_impl) import build_ext
+ build_ext = __import__(pyrex_impl, fromlist=['build_ext']).build_ext
+ break
+ except:
+ pass
have_pyrex = 'build_ext' in globals()
@@ -18,7 +18,7 @@ class Extension(_Extension):
"""Extension that uses '.c' files in place of '.pyx' files"""
if not have_pyrex:
- # convert .pyx extensions to .c
+ # convert .pyx extensions to .c
def __init__(self,*args,**kw):
_Extension.__init__(self,*args,**kw)
sources = []