diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2014-12-19 09:45:16 -0800 |
---|---|---|
committer | Jeremy Stanley <fungi@yuggoth.org> | 2014-12-21 22:21:48 +0000 |
commit | 3ec9f0e809f8588fd9110f2b0426a495a44e7a2f (patch) | |
tree | ee3c4a60967caedc04220bfc6879f09d48e631cd /setup.cfg | |
parent | 50a43a18d14f4c2acebbd3fb221400224eb56781 (diff) | |
download | pbr-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.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |