mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Fix for Python 3.10
This commit is contained in:
parent
cb7d8d622a
commit
cd99deff1e
4
setup.py
4
setup.py
|
@ -432,7 +432,9 @@ class pil_build_ext(build_ext):
|
|||
# pythonX.Y.dll.a is in the /usr/lib/pythonX.Y/config directory
|
||||
_add_directory(
|
||||
library_dirs,
|
||||
os.path.join("/usr/lib", "python%s" % sys.version[:3], "config"),
|
||||
os.path.join(
|
||||
"/usr/lib", "python{}.{}".format(*sys.version_info), "config"
|
||||
),
|
||||
)
|
||||
|
||||
elif sys.platform == "darwin":
|
||||
|
|
Loading…
Reference in New Issue
Block a user