Fix werkzeug recipe (#509)

Co-authored-by: richard <richard@dotmodus>
This commit is contained in:
Richard Larkin 2020-05-28 21:56:45 +02:00 committed by GitHub
parent 98345a662e
commit 2ef99a4924
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View file

@ -1,10 +1,4 @@
BROKEN_RECIPES = set(
[
# bad install directory or PYTHONPATH
# https://github.com/kivy/kivy-ios/issues/468
"werkzeug",
]
)
BROKEN_RECIPES = set([])
# recipes that were already built will be skipped
CORE_RECIPES = set(["kivy", "hostpython3", "python3"])

View file

@ -16,7 +16,7 @@ class WerkzeugRecipe(PythonRecipe):
os.chdir(build_dir)
hostpython = sh.Command(self.ctx.hostpython)
build_env = arch.get_env()
dest_dir = join(self.ctx.dist_dir, "root", "python")
dest_dir = join(self.ctx.dist_dir, "root", "python3")
build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python3.8', 'site-packages')
shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)