Switch on warnerrors and universal wheel

The warnerrors boolean option is used to tell Sphinx builders to
treat warnings as errors which will cause sphinx-build to fail if
it encounters warnings. This is generally useful to ensure your
documentation stays clean once you have a good docs build.

since we are python 2 and 3 compatible we should create a
universal wheel distribution.

Change-Id: I2a45596590d20b50abd232e3b070454cc28113ad
This commit is contained in:
Davanum Srinivas 2016-05-05 15:45:19 -04:00 committed by Davanum Srinivas (dims)
parent 27f40b1f4a
commit 95e536aa49
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,9 @@ classifier =
packages =
kolla-kubernetes
[pbr]
warnerrors = true
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
@ -44,3 +47,6 @@ input_file = kolla-kubernetes/locale/kolla-kubernetes.pot
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = kolla-kubernetes/locale/kolla-kubernetes.pot
[wheel]
universal = true