blob: 92d097735a3121c8d44e8ebe56caa60454ab8cf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
=== modified file 'setup.py'
--- setup.py 2008-10-07 11:20:18 +0000
+++ setup.py 2008-10-07 11:21:14 +0000
@@ -161,22 +161,8 @@
from distutils.errors import CCompilerError, DistutilsPlatformError
from distutils.extension import Extension
ext_modules = []
-try:
- from Pyrex.Distutils import build_ext
-except ImportError:
- have_pyrex = False
- # try to build the extension from the prior generated source.
- print
- print ("The python package 'Pyrex' is not available."
- " If the .c files are available,")
- print ("they will be built,"
- " but modifying the .pyx files will not rebuild them.")
- print
- from distutils.command.build_ext import build_ext
-else:
- have_pyrex = True
- from Pyrex.Compiler.Version import version as pyrex_version
-
+have_pyrex = False
+from distutils.command.build_ext import build_ext
class build_ext_if_possible(build_ext):
|