From 5cc62c2f2566ea39d8c545201fdd8eaec8379cf0 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 24 Sep 2015 21:46:09 -0400 Subject: [PATCH] docs - Set pbr 'warnerrors' option for doc build By setting this pbr option in setup.cfg, the doc build will fail in case of any warnings or errors occur during the build process. Change-Id: Ia6b9cef8933ade60810a48d1813a6f3b3dc72103 --- setup.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.cfg b/setup.cfg index 5a69c180..0f2ea29d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,6 +35,12 @@ tooz.backends = file = tooz.drivers.file:FileDriver zookeeper = tooz.drivers.zookeeper:KazooDriver +[pbr] +warnerrors = True + +[wheel] +universal = 1 + [build_sphinx] all_files = 1 build-dir = doc/build