comparison setup.py @ 29833:a8933d992a71

bdiff: implement cffi version of blocks
author Maciej Fijalkowski <fijall@gmail.com>
date Thu, 28 Jul 2016 14:17:08 +0200
parents f2846d546645
children 9cc438bf7d9a
comparison
equal deleted inserted replaced
29832:bac1829ec31f 29833:a8933d992a71
317 317
318 if self.distribution.pure: 318 if self.distribution.pure:
319 self.distribution.ext_modules = [] 319 self.distribution.ext_modules = []
320 elif self.distribution.cffi: 320 elif self.distribution.cffi:
321 import setup_mpatch_cffi 321 import setup_mpatch_cffi
322 exts = [setup_mpatch_cffi.ffi.distutils_extension()] 322 import setup_bdiff_cffi
323 exts = [setup_mpatch_cffi.ffi.distutils_extension(),
324 setup_bdiff_cffi.ffi.distutils_extension()]
323 # cffi modules go here 325 # cffi modules go here
324 if sys.platform == 'darwin': 326 if sys.platform == 'darwin':
325 import setup_osutil_cffi 327 import setup_osutil_cffi
326 exts.append(setup_osutil_cffi.ffi.distutils_extension()) 328 exts.append(setup_osutil_cffi.ffi.distutils_extension())
327 self.distribution.ext_modules = exts 329 self.distribution.ext_modules = exts