Skip to content

Commit 1c7484e

Browse files
committed
Move python dependencies inside a virtualenv
1 parent c45a7f2 commit 1c7484e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.platform.app.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ disk: 512
4646
# Build time dependencies.
4747
dependencies:
4848
python:
49-
sphinx: "1.3.6"
49+
virtualenv: 15.1.0
5050

5151
# The hooks that will be performed when the package is deployed.
5252
hooks:
5353
build: |
54-
pip install git+https://github.com/fabpot/sphinx-php.git
54+
virtualenv .virtualenv
55+
. .virtualenv/bin/activate
56+
pip install --upgrade pip wheel
57+
pip install sphinx==1.3.6 git+https://github.com/fabpot/sphinx-php.git
5558
make -C _build html

0 commit comments

Comments
 (0)