mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Platform is linux2
This commit is contained in:
parent
3c7f9152c6
commit
0c50a76dbe
4
setup.py
4
setup.py
|
@ -115,7 +115,7 @@ def find_version(filename):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
#VERSION = find_version("PIL/Image.py")
|
#VERSION = find_version("PIL/Image.py")
|
||||||
VERSION = "1.2"
|
VERSION = "1.2.1"
|
||||||
|
|
||||||
|
|
||||||
class pil_build_ext(build_ext):
|
class pil_build_ext(build_ext):
|
||||||
|
@ -152,7 +152,7 @@ class pil_build_ext(build_ext):
|
||||||
add_directory(library_dirs, "/usr/x11/lib")
|
add_directory(library_dirs, "/usr/x11/lib")
|
||||||
add_directory(library_dirs, "/usr/x11/include")
|
add_directory(library_dirs, "/usr/x11/include")
|
||||||
|
|
||||||
elif sys.platform == "Linux":
|
elif sys.platform == "linux2":
|
||||||
if platform.processor == "x86_64":
|
if platform.processor == "x86_64":
|
||||||
add_directory(library_dirs, "/usr/lib64")
|
add_directory(library_dirs, "/usr/lib64")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user