summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2014-12-19 09:45:16 -0800
committerJeremy Stanley <fungi@yuggoth.org>2014-12-21 22:21:48 +0000
commit3ec9f0e809f8588fd9110f2b0426a495a44e7a2f (patch)
treeee3c4a60967caedc04220bfc6879f09d48e631cd /setup.cfg
parent50a43a18d14f4c2acebbd3fb221400224eb56781 (diff)
downloadpbr-3ec9f0e809f8588fd9110f2b0426a495a44e7a2f.tar.gz
Move write_pbr_json to avoid issues with nose
Put write_pbr_json in pbr.pbr_json so that you do not need to import pbr.packaging to use it. This avoids python3 errors with nose where nose is imported by pbr before it is converted to python3 by 2to3 under python3. Change-Id: I1c420fed609bc60bbfdf78eb219e067ccab1a61e
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index b217fd3..c2d06e7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -39,7 +39,7 @@ distutils.setup_keywords =
distutils.commands =
testr = pbr.testr_command:Testr
egg_info.writers =
- pbr.json = pbr.packaging:write_pbr_json
+ pbr.json = pbr.pbr_json:write_pbr_json
console_scripts =
pbr = pbr.cmd.main:main