Skip to content

Commit ebaa7dc

Browse files
committed
Merge branch '3.2'
* 3.2: Pin Python dependencies and install them in a virtualenv
2 parents ee31b7f + 32994da commit ebaa7dc

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

.platform.app.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,15 @@ 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+
# Platform.sh currently sets PIP_USER=1.
57+
export PIP_USER=
58+
pip install pip==9.0.1 wheel==0.29.0
59+
pip install -r requirements.txt
5560
make -C _build html

requirements.txt

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
alabaster==0.7.9
2+
Babel==2.3.4
3+
docutils==0.13.1
4+
imagesize==0.7.1
5+
Jinja2==2.9.4
6+
MarkupSafe==0.23
7+
Pygments==2.2.0
8+
pytz==2016.10
9+
requests==2.12.5
10+
six==1.10.0
11+
snowballstemmer==1.2.1
12+
Sphinx==1.5.2
13+
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php
14+

0 commit comments

Comments
 (0)