Show More
@@ -262,7 +262,8 b' class hgbuildmo(build):' | |||
|
262 | 262 | |
|
263 | 263 | |
|
264 | 264 | class hgdist(Distribution): |
|
265 |
pure = |
|
|
265 | pure = False | |
|
266 | cffi = ispypy | |
|
266 | 267 | |
|
267 | 268 | global_options = Distribution.global_options + \ |
|
268 | 269 | [('pure', None, "use pure (slow) Python " |
@@ -316,6 +317,10 b' class hgbuildpy(build_py):' | |||
|
316 | 317 | |
|
317 | 318 | if self.distribution.pure: |
|
318 | 319 | self.distribution.ext_modules = [] |
|
320 | elif self.distribution.cffi: | |
|
321 | exts = [] | |
|
322 | # cffi modules go here | |
|
323 | self.distribution.ext_modules = exts | |
|
319 | 324 | else: |
|
320 | 325 | h = os.path.join(get_python_inc(), 'Python.h') |
|
321 | 326 | if not os.path.exists(h): |
General Comments 0
You need to be logged in to leave comments.
Login now