Merge pull request #149 from kivy/pil_fix
fix egg permission error on actual device.
This commit is contained in:
commit
5f8a8795bd
1 changed files with 5 additions and 4 deletions
|
@ -6,8 +6,9 @@ import fnmatch
|
||||||
|
|
||||||
|
|
||||||
class PillowRecipe(Recipe):
|
class PillowRecipe(Recipe):
|
||||||
version = "2.7.0"
|
version = "2.8.2"
|
||||||
url = "https://github.com/python-pillow/Pillow/archive/{version}.zip"
|
url = "https://pypi.python.org/packages/source/P/Pillow/Pillow-{version}.tar.gz"
|
||||||
|
#url = "https://github.com/python-pillow/Pillow/archive/{version}.tar.gz"
|
||||||
library = "libpil.a"
|
library = "libpil.a"
|
||||||
depends = ["hostpython", "host_setuptools", "pkgresources", "freetype", "libjpeg", "python", "ios"]
|
depends = ["hostpython", "host_setuptools", "pkgresources", "freetype", "libjpeg", "python", "ios"]
|
||||||
pbx_libraries = ["libz", "libbz2"]
|
pbx_libraries = ["libz", "libbz2"]
|
||||||
|
@ -48,8 +49,8 @@ class PillowRecipe(Recipe):
|
||||||
build_env = self.get_pil_env(arch)
|
build_env = self.get_pil_env(arch)
|
||||||
dest_dir = join(self.ctx.dist_dir, "root", "python")
|
dest_dir = join(self.ctx.dist_dir, "root", "python")
|
||||||
build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages')
|
build_env['PYTHONPATH'] = join(dest_dir, 'lib', 'python2.7', 'site-packages')
|
||||||
shprint(hostpython, "setup.py", "install", "-O2",
|
shprint(hostpython, "-m", "easy_install",
|
||||||
"--prefix", dest_dir,
|
"--prefix", dest_dir, "-Z", "./",
|
||||||
_env=build_env)
|
_env=build_env)
|
||||||
|
|
||||||
def biglink(self):
|
def biglink(self):
|
||||||
|
|
Loading…
Reference in a new issue