Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0213bc0

Browse files
committed
use virtualenv for platform.sh and use make and requirements for travis
1 parent5446afa commit0213bc0

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/_build/doctrees
22
/_build/html
3+
/.venv/
4+
/.idea/
35
*.pyc

‎.platform.app.yaml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,16 @@ web:
4343
# The size of the persistent disk of the application (in MB).
4444
disk:512
4545

46-
# Build time dependencies.
4746
dependencies:
4847
python:
49-
sphinx:"1.3.6"
48+
virtualenv:"15.1"
5049

5150
# The hooks that will be performed when the package is deployed.
5251
hooks:
5352
build:|
54-
pip install git+https://github.com/fabpot/sphinx-php.git
55-
make -C _build html
53+
virtualenv .venv
54+
. .venv/bin/activate
55+
export PIP_USER=
56+
pip install pip==9.0.1 wheel==0.29.0
57+
pip install -r _build/.requirements.txt
58+
make -C _build html

‎.travis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ sudo: false
66
cache:
77
directories:[$HOME/.cache/pip]
88

9-
install:pip install sphinx~=1.3.0 git+https://github.com/fabpot/sphinx-php.git
9+
install:pip install-r _build/.requirements.txtsphinx==1.3.0
1010

11-
script:sphinx-build -nW -c _build/ -b html -d_build/doctrees . _build/html
11+
script:SPHINXOPTS="-nW" make -eC_buildhtml
1212

1313
branches:
1414
except:

‎_build/.requirements.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git+https://github.com/fabpot/sphinx-php.git@master#egg_name=sphinx-php

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp