File tree 2 files changed +17
-5
lines changed
2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ revision 1
9
9
categories-append devel
10
10
license BSD
11
11
12
- python.versions 27 37 38 39 310 311 312
12
+ python.versions 27 37 38 39 310 311 312 313
13
13
python.pep517 no
14
14
15
15
maintainers {stromnov @stromnov} openmaintainer
Original file line number Diff line number Diff line change 1
- --- setup.py.orig 2021-10-15 09:26:23.000000000 +0300
2
- +++ setup.py 2021-10-16 16:06:42.000000000 +0300
3
- @@ -510,52 +510,9 @@ class pil_build_ext(build_ext):
1
+ diff --git setup.py setup.py
2
+ index 07d6c66d655e..a77263ef2900 100755
3
+ --- setup.py
4
+ +++ setup.py
5
+ @@ -22,8 +22,7 @@ from setuptools.command.build_ext import build_ext
6
+ def get_version():
7
+ version_file = "src/PIL/_version.py"
8
+ with open(version_file, encoding="utf-8") as f:
9
+ - exec(compile(f.read(), version_file, "exec"))
10
+ - return locals()["__version__"]
11
+ + return f.read().split('"')[1]
12
+
13
+
14
+ PILLOW_VERSION = get_version()
15
+ @@ -517,52 +516,9 @@ class pil_build_ext(build_ext):
4
16
)
5
17
6
18
elif sys.platform == "darwin":
54
66
+ _add_directory(include_dirs, "@prefix@/include")
55
67
elif (
56
68
sys.platform.startswith("linux")
57
- or sys.platform.startswith("gnu")
69
+ or sys.platform.startswith("gnu")
You can’t perform that action at this time.
0 commit comments