Remove unused file
and fix for prepare-build-pdf-docs: Check tox env for PDF build in tox.ini -Failed Change-Id: I00972c4ef33dbea10dd332ae9f6920a65da62b7a
This commit is contained in:
21
setup.py
21
setup.py
@@ -1,21 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
# implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
import setuptools
|
|
||||||
|
|
||||||
setuptools.setup(
|
|
||||||
setup_requires=['pbr'],
|
|
||||||
pbr=True)
|
|
8
tox.ini
8
tox.ini
@@ -10,6 +10,14 @@ commands =
|
|||||||
doc8 doc/source -e txt -e rst
|
doc8 doc/source -e txt -e rst
|
||||||
sphinx-build -E -W -b html doc/source doc/build/html
|
sphinx-build -E -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
|
[testenv:pdf-docs]
|
||||||
|
deps = {[testenv:docs]deps}
|
||||||
|
allowlist_externals =
|
||||||
|
make
|
||||||
|
commands =
|
||||||
|
sphinx-build -j auto -W -b latex doc/source doc/build/pdf
|
||||||
|
make -C doc/build/pdf
|
||||||
|
|
||||||
[doc8]
|
[doc8]
|
||||||
# Settings for doc8:
|
# Settings for doc8:
|
||||||
# Ignore target directories and autogenerated files
|
# Ignore target directories and autogenerated files
|
||||||
|
Reference in New Issue
Block a user