mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-26 00:30:33 +03:00
Merge pull request #2414 from radarhere/private
Removed unused private functions
This commit is contained in:
commit
bbc205573d
4
setup.py
4
setup.py
|
@ -84,10 +84,6 @@ def _find_library_file(self, library):
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
def _lib_include(root):
|
|
||||||
# map root to (root/lib, root/include)
|
|
||||||
return os.path.join(root, "lib"), os.path.join(root, "include")
|
|
||||||
|
|
||||||
def _cmd_exists(cmd):
|
def _cmd_exists(cmd):
|
||||||
return any(
|
return any(
|
||||||
os.access(os.path.join(path, cmd), os.X_OK)
|
os.access(os.path.join(path, cmd), os.X_OK)
|
||||||
|
|
|
@ -10,10 +10,6 @@ def _relpath(*args):
|
||||||
return os.path.join(os.getcwd(), *args)
|
return os.path.join(os.getcwd(), *args)
|
||||||
|
|
||||||
|
|
||||||
def _relbuild(*args):
|
|
||||||
return _relpath('build', *args)
|
|
||||||
|
|
||||||
|
|
||||||
build_dir = _relpath('build')
|
build_dir = _relpath('build')
|
||||||
inc_dir = _relpath('depends')
|
inc_dir = _relpath('depends')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user