mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-12 01:02:39 +03:00
Removed default argument
This commit is contained in:
parent
b931402046
commit
2316c930f9
4
setup.py
4
setup.py
|
@ -22,7 +22,7 @@ from pybind11.setup_helpers import ParallelCompile
|
||||||
from setuptools import Extension, setup
|
from setuptools import Extension, setup
|
||||||
from setuptools.command.build_ext import build_ext
|
from setuptools.command.build_ext import build_ext
|
||||||
|
|
||||||
ParallelCompile("MAX_CONCURRENCY", default=0).install()
|
ParallelCompile("MAX_CONCURRENCY").install()
|
||||||
|
|
||||||
|
|
||||||
def get_version() -> str:
|
def get_version() -> str:
|
||||||
|
@ -1051,12 +1051,12 @@ ext_modules = [
|
||||||
Extension("PIL._imagingmorph", ["src/_imagingmorph.c"]),
|
Extension("PIL._imagingmorph", ["src/_imagingmorph.c"]),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
# parse configuration from _custom_build/backend.py
|
# parse configuration from _custom_build/backend.py
|
||||||
while sys.argv[-1].startswith("--pillow-configuration="):
|
while sys.argv[-1].startswith("--pillow-configuration="):
|
||||||
_, key, value = sys.argv.pop().split("=", 2)
|
_, key, value = sys.argv.pop().split("=", 2)
|
||||||
configuration.setdefault(key, []).append(value)
|
configuration.setdefault(key, []).append(value)
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
setup(
|
setup(
|
||||||
cmdclass={"build_ext": pil_build_ext},
|
cmdclass={"build_ext": pil_build_ext},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user