pycparser and cffi recipes install
This commit is contained in:
parent
26a76b65e5
commit
2cb3124e35
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
from os.path import join
|
||||
from toolchain import CythonRecipe
|
||||
|
||||
|
||||
|
|
|
@ -18,6 +18,10 @@ class PycparserRecipe(PythonRecipe):
|
|||
arch = list(self.filtered_archs)[0]
|
||||
build_dir = self.get_build_dir(arch.arch)
|
||||
os.chdir(build_dir)
|
||||
# manually create expected directory in build directory
|
||||
scripts_dir = join("build", "scripts-2.7")
|
||||
if not os.path.exists(scripts_dir):
|
||||
os.makedirs(scripts_dir)
|
||||
hostpython = sh.Command(self.ctx.hostpython)
|
||||
build_env = arch.get_env()
|
||||
dest_dir = join(self.ctx.dist_dir, "root", "python")
|
||||
|
|
Loading…
Reference in a new issue