Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I37ca13f2f2f0f5a063e64d389a30f3b61e6c25f0
We no longer build docs with setuptools (or pbr) but rather by calling
'sphinx-build' directly. However, we have stuff left over from the days
before this switch. Remove them.
Change-Id: I185005c61c3269f9b1e96d28376ae67b7f7a7463
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Import from i18n repo the scripts get-lang-display-name.py and
build-docs.sh, update comments so that they are generic.
Add the two files to setup.cfg so that they get distributed with the
package and can be executed from tox for building of translated
documents.
Change-Id: I80fcb1ed857da8452b310e6707cce3940577a35a
Follow https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh, we can build without it.
Create new doc/requirements.txt file with doc requirements to make them
optional. We cannot use ".[test]" with pip, it would still install
project with constraints and fail.
Change-Id: I4f1fa1fd3139a763222b0a0f18394a7660c62497
A recent bot import duplicated lines, remove the duplicates and adjust
comment. Let's hope the bot leaves this now as is...
Change-Id: I42a22f9472c63001814b3529aea2d0f0383defe7
openstackdocstheme requires reno for testing, but reno requires
openstackdocstheme. To break this, make reno an optional test
requirement.
Change-Id: I267e0216089038a15df8221efc1fcd365e0809be
openstackdocstheme requires os-api-ref for testing, but os-api-ref requires
openstackdocstheme. To break this, make os-api-ref an optional test
requirement.
Change-Id: Ibbd01f63a516a49133cd8cdd4cf0cfe69bbaecaf
Sphinx 1.5 supports warning-is-error to complain about errors, use this.
This replaces warnerrors in pbr section with pbr 2.0.
Change-Id: I2d76cc75c245a911d86a181f45494fdd59b9dc1b
Document the Python versions that we expect this to work with which
include Python 2.7 and Python 3.5.
Change-Id: I66d515b9f527c8741b022020d136643159a159f2
As of https://wiki.openstack.org/wiki/python3 OpenStack
is dropping py26 for mitaka. In this patch I deleted py26
from setup.cfg
Change-Id: I1ae1507cdad0e940167c9c27363ed585a426a7d8