Skip to content

Commit

Permalink
Merge pull request #3316 from radarhere/winbuild_fetch
Browse files Browse the repository at this point in the history
Download lib if not present in pillow-depends
  • Loading branch information
hugovk committed Aug 24, 2018
2 parents 693e161 + fb4d762 commit 1e56ed8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions winbuild/build_dep.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from untar import untar
import os

from fetch import fetch
from config import compilers, compiler_from_env, libs


Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 1e56ed8

Please sign in to comment.