summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Van Trung <trungnv@vn.fujitsu.com>2018-07-09 14:29:08 +0700
committerNguyen Van Trung <trungnv@vn.fujitsu.com>2018-07-09 16:18:03 +0700
commit880d7122b87e3a0b26879dc6873252a3506dfa99 (patch)
treeb0b9e8e5b8e721e71b067b8f23a3199fe9b29973
parent599e988d85997ea32dce71202b3bf81156fbfd08 (diff)
Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more details information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Ib36e24d0b38356790993fec24b8280464645bd29
Notes
Notes (review): Code-Review+2: Stephen Finucane <stephenfin@redhat.com> Code-Review+2: ChangBo Guo(gcb) <glongwave@gmail.com> Workflow+1: ChangBo Guo(gcb) <glongwave@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 10 Jul 2018 07:57:40 +0000 Reviewed-on: https://review.openstack.org/580945 Project: openstack/futurist Branch: refs/heads/master
-rw-r--r--doc/requirements.txt3
-rw-r--r--requirements.txt2
-rw-r--r--setup.cfg9
-rw-r--r--test-requirements.txt3
-rw-r--r--tox.ini2
5 files changed, 5 insertions, 14 deletions
diff --git a/doc/requirements.txt b/doc/requirements.txt
new file mode 100644
index 0000000..b9c5e1f
--- /dev/null
+++ b/doc/requirements.txt
@@ -0,0 +1,3 @@
1sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
2openstackdocstheme>=1.18.1 # Apache-2.0
3reno>=2.5.0 # Apache-2.0
diff --git a/requirements.txt b/requirements.txt
index 50e5fed..777e49c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,5 +6,5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
6six>=1.10.0 # MIT 6six>=1.10.0 # MIT
7monotonic>=0.6 # Apache-2.0 7monotonic>=0.6 # Apache-2.0
8futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD 8futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD
9contextlib2>=0.4.0 # PSF License 9contextlib2>=0.4.0;python_version<'3.0' # PSF License
10PrettyTable<0.8,>=0.7.1 # BSD 10PrettyTable<0.8,>=0.7.1 # BSD
diff --git a/setup.cfg b/setup.cfg
index 373880b..17a8d04 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -22,15 +22,6 @@ classifier =
22packages = 22packages =
23 futurist 23 futurist
24 24
25[build_sphinx]
26source-dir = doc/source
27build-dir = doc/build
28all_files = 1
29warning-is-error = 1
30
31[upload_sphinx]
32upload-dir = doc/build/html
33
34[compile_catalog] 25[compile_catalog]
35directory = futurist/locale 26directory = futurist/locale
36domain = futurist 27domain = futurist
diff --git a/test-requirements.txt b/test-requirements.txt
index 6e1bd22..bb1aad7 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10,10 +10,7 @@ eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
10doc8>=0.6.0 # Apache-2.0 10doc8>=0.6.0 # Apache-2.0
11coverage!=4.4,>=4.0 # Apache-2.0 11coverage!=4.4,>=4.0 # Apache-2.0
12python-subunit>=1.0.0 # Apache-2.0/BSD 12python-subunit>=1.0.0 # Apache-2.0/BSD
13sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
14openstackdocstheme>=1.18.1 # Apache-2.0
15oslotest>=3.2.0 # Apache-2.0 13oslotest>=3.2.0 # Apache-2.0
16testrepository>=0.0.18 # Apache-2.0/BSD 14testrepository>=0.0.18 # Apache-2.0/BSD
17testscenarios>=0.4 # Apache-2.0/BSD 15testscenarios>=0.4 # Apache-2.0/BSD
18testtools>=2.2.0 # MIT 16testtools>=2.2.0 # MIT
19reno>=2.5.0 # Apache-2.0
diff --git a/tox.ini b/tox.ini
index 9d72f3e..0e84739 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,6 @@ deps =
12 -r{toxinidir}/test-requirements.txt 12 -r{toxinidir}/test-requirements.txt
13commands = 13commands =
14 python setup.py testr --slowest --testr-args='{posargs}' 14 python setup.py testr --slowest --testr-args='{posargs}'
15 sphinx-build -E -W -b doctest doc/source doc/build/doctest
16 15
17[testenv:pep8] 16[testenv:pep8]
18basepython = python3 17basepython = python3
@@ -37,6 +36,7 @@ basepython = python2.7
37 36
38[testenv:docs] 37[testenv:docs]
39basepython = python3 38basepython = python3
39deps = -r{toxinidir}/doc/requirements.txt
40commands = 40commands =
41 rm -rf doc/build 41 rm -rf doc/build
42 sphinx-build -E -W -b html doc/source doc/build/html 42 sphinx-build -E -W -b html doc/source doc/build/html