mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Download lib if not present in pillow-depends
This commit is contained in:
parent
693e161855
commit
fb4d762a2f
|
@ -2,6 +2,7 @@ from unzip import unzip
|
|||
from untar import untar
|
||||
import os
|
||||
|
||||
from fetch import fetch
|
||||
from config import compilers, compiler_from_env, libs
|
||||
|
||||
|
||||
|
@ -44,6 +45,8 @@ def extract(src, dest):
|
|||
def extract_libs():
|
||||
for name, lib in libs.items():
|
||||
filename = lib['filename']
|
||||
if not os.path.exists(filename):
|
||||
filename = fetch(lib['url'])
|
||||
if name == 'openjpeg':
|
||||
for compiler in compilers.values():
|
||||
if not os.path.exists(os.path.join(
|
||||
|
|
Loading…
Reference in New Issue
Block a user