set executable flag on setup.py and add shebang

This commit is contained in:
Alexander 2016-12-04 18:59:53 +03:00
parent b1017b2903
commit 9c38253733

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