pyobjus: fix compilation, cythonize changes methods and pyobjus cannot work after that.
This commit is contained in:
parent
0f2e8dabf1
commit
e1273532f9
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,11 @@ class PyobjusRecipe(CythonRecipe):
|
||||||
return env
|
return env
|
||||||
|
|
||||||
def cythonize_build(self):
|
def cythonize_build(self):
|
||||||
super(PyobjusRecipe, self).cythonize_build()
|
# don't use the cythonize, pyobjus don't support method rewriting
|
||||||
|
shprint(sh.find, self.build_dir, "-iname", "*.pyx",
|
||||||
|
"-exec", "cython", "{}", ";")
|
||||||
|
# ffi is installed somewhere else, this include doesn't work
|
||||||
|
# XXX ideally, we need to fix libffi installation...
|
||||||
shprint(sh.sed,
|
shprint(sh.sed,
|
||||||
"-i.bak",
|
"-i.bak",
|
||||||
"s/ffi\///g",
|
"s/ffi\///g",
|
||||||
|
|
Loading…
Reference in a new issue