mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-05 04:50:09 +03:00
FIX: with python 3.13b1 this change is needed for pillow to install
This commit is contained in:
parent
bfbe339ae3
commit
b4efed8b57
5
setup.py
5
setup.py
|
@ -23,8 +23,9 @@ from setuptools.command.build_ext import build_ext
|
|||
def get_version():
|
||||
version_file = "src/PIL/_version.py"
|
||||
with open(version_file, encoding="utf-8") as f:
|
||||
exec(compile(f.read(), version_file, "exec"))
|
||||
return locals()["__version__"]
|
||||
lcl = {}
|
||||
exec(compile(f.read(), version_file, "exec"), lcl)
|
||||
return lcl["__version__"]
|
||||
|
||||
|
||||
configuration = {}
|
||||
|
|
Loading…
Reference in New Issue
Block a user