mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 16:24:11 +03:00
Merge pull request #57 from radarhere/rm-distutils-sysconfig
This commit is contained in:
commit
cda0dc6ec4
6
setup.py
6
setup.py
|
@ -418,10 +418,8 @@ class pil_build_ext(build_ext):
|
||||||
for d in os.environ[k].split(os.path.pathsep):
|
for d in os.environ[k].split(os.path.pathsep):
|
||||||
_add_directory(library_dirs, d)
|
_add_directory(library_dirs, d)
|
||||||
|
|
||||||
prefix = os.path.normpath(sys.prefix)
|
_add_directory(library_dirs, os.path.join(sys.prefix, "lib"))
|
||||||
if prefix:
|
_add_directory(include_dirs, os.path.join(sys.prefix, "include"))
|
||||||
_add_directory(library_dirs, os.path.join(prefix, "lib"))
|
|
||||||
_add_directory(include_dirs, os.path.join(prefix, "include"))
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# add platform directories
|
# add platform directories
|
||||||
|
|
Loading…
Reference in New Issue
Block a user