From 4de04a310580b89a55ef6cffdba800b16f14de1f Mon Sep 17 00:00:00 2001 From: shim_ <> Date: Thu, 19 Jul 2018 22:01:04 +0200 Subject: [PATCH] python2.7 deps --- .drone.yml | 2 +- make-modules.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0e8b3c3..43c45fe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ pipeline: modules: - image: python:3.6 + image: python:2.7 commands: - ./make-modules.sh package: diff --git a/make-modules.sh b/make-modules.sh index ea0593b..898afff 100755 --- a/make-modules.sh +++ b/make-modules.sh @@ -1,6 +1,8 @@ +set -e + rm -rf modules mkdir modules -pip3 install --install-option="--prefix=$PWD" -r requirements.txt -mv lib/python3.6/site-packages/* modules/ +pip install --install-option="--prefix=$PWD" -r requirements.txt +mv lib/python2.7/site-packages/* modules/ cp imports/* -r modules/