Merge pull request #2277 from uploadcare/executable-setup

Set executable flag on setup.py and add shebang
This commit is contained in:
wiredfool 2016-12-13 19:58:10 +00:00 committed by GitHub
commit 5e41721cba

5
setup.py Normal file → Executable file
View 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