🔨 Fix pillow recipe (#498)

Co-authored-by: richard <richard@dotmodus>
This commit is contained in:
Richard Larkin 2020-05-17 14:39:26 +02:00 committed by GitHub
parent a2b5a763e0
commit d63d43cf98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ class PillowRecipe(Recipe):
hostpython3 = sh.Command(self.ctx.hostpython)
build_env = self.get_pil_env(arch)
dest_dir = join(self.ctx.dist_dir, "root", "python3")
build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python3.7', 'site-packages')
build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python3.8', 'site-packages')
shprint(hostpython3, "setup.py", "install", "--prefix", dest_dir,
_env=build_env)