mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
set executable flag on setup.py and add shebang
This commit is contained in:
parent
b1017b2903
commit
9c38253733
5
setup.py
Normal file → Executable file
5
setup.py
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
# > pyroma .
|
||||
# ------------------------------
|
||||
# Checking .
|
||||
|
@ -89,7 +90,7 @@ def _lib_include(root):
|
|||
|
||||
def _cmd_exists(cmd):
|
||||
return any(
|
||||
os.access(os.path.join(path, cmd), os.X_OK)
|
||||
os.access(os.path.join(path, cmd), os.X_OK)
|
||||
for path in os.environ["PATH"].split(os.pathsep)
|
||||
)
|
||||
|
||||
|
@ -547,7 +548,7 @@ class pil_build_ext(build_ext):
|
|||
if f in ('jpeg', 'zlib'):
|
||||
raise RequiredDependencyException(f)
|
||||
raise DependencyException(f)
|
||||
|
||||
|
||||
#
|
||||
# core library
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user