mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-30 10:43:16 +03:00
_find_version appears unused
This commit is contained in:
parent
714211b327
commit
79186baec7
13
setup.py
13
setup.py
|
@ -59,12 +59,13 @@ def _find_library_file(self, library):
|
||||||
self.compiler.library_dirs, library)
|
self.compiler.library_dirs, library)
|
||||||
|
|
||||||
|
|
||||||
def _find_version(filename):
|
# XXX Who or what still uses this?
|
||||||
for line in open(filename).readlines():
|
#def _find_version(filename):
|
||||||
m = re.search("VERSION\s*=\s*\"([^\"]+)\"", line)
|
# for line in open(filename).readlines():
|
||||||
if m:
|
# m = re.search("VERSION\s*=\s*\"([^\"]+)\"", line)
|
||||||
return m.group(1)
|
# if m:
|
||||||
return None
|
# return m.group(1)
|
||||||
|
# return None
|
||||||
|
|
||||||
|
|
||||||
def _lib_include(root):
|
def _lib_include(root):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user