Skip to content

Commit 350ac23

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.platform.app.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@ 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+
export PIP_USER=
57+
pip install --upgrade pip wheel
58+
pip install sphinx git+https://github.com/fabpot/sphinx-php.git
5559
make -C _build html

0 commit comments

Comments
 (0)