Skip to content

Commit bcde23d

Browse files
committed
Explicitly allow PIL to be installed from external sources.
1 parent a482c71 commit bcde23d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tools/python/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ selenium
77
# Requirements for using -x
88
pyvirtualdisplay
99
pyscreenshot
10+
--allow-external=PIL
11+
--allow-unverified=PIL
1012
PIL

tools/python/setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ EOF
2929

3030
if virtualenv --system-site-packages .; then
3131
echo -e;
32+
(
33+
source bin/activate
34+
pip install --upgrade pip
35+
)
3236
else
3337
cat <<EOF
3438
Was unable to set up the virtualenv environment. Please see output for errors.

0 commit comments

Comments
 (0)