We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df96e7c + 57399ce commit d879f39Copy full SHA for d879f39
1 file changed
setup.py
@@ -23,8 +23,7 @@
23
def get_version():
24
version_file = "src/PIL/_version.py"
25
with open(version_file, encoding="utf-8") as f:
26
- exec(compile(f.read(), version_file, "exec"))
27
- return locals()["__version__"]
+ return f.read().split('"')[1]
28
29
30
configuration = {}
0 commit comments