mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Merge branch 'main' into wheels
This commit is contained in:
commit
502d615c20
3
setup.py
3
setup.py
|
@ -23,8 +23,7 @@ from setuptools.command.build_ext import build_ext
|
||||||
def get_version():
|
def get_version():
|
||||||
version_file = "src/PIL/_version.py"
|
version_file = "src/PIL/_version.py"
|
||||||
with open(version_file, encoding="utf-8") as f:
|
with open(version_file, encoding="utf-8") as f:
|
||||||
exec(compile(f.read(), version_file, "exec"))
|
return f.read().split('"')[1]
|
||||||
return locals()["__version__"]
|
|
||||||
|
|
||||||
|
|
||||||
configuration = {}
|
configuration = {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user