From 350ac23b74a7066b6d2df9b86aee083e516237df Mon Sep 17 00:00:00 2001 From: Damien Tournoud Date: Sun, 22 Jan 2017 22:19:46 +0100 Subject: [PATCH] Move python dependencies inside a virtualenv --- .platform.app.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.platform.app.yaml b/.platform.app.yaml index cdbe76b0de2..cd5864982e1 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -46,10 +46,14 @@ disk: 512 # Build time dependencies. dependencies: python: - sphinx: "1.3.6" + virtualenv: 15.1.0 # The hooks that will be performed when the package is deployed. hooks: build: | - pip install git+https://github.com/fabpot/sphinx-php.git + virtualenv .virtualenv + . .virtualenv/bin/activate + export PIP_USER= + pip install --upgrade pip wheel + pip install sphinx git+https://github.com/fabpot/sphinx-php.git make -C _build html