Update to modern pbr

d2to1 hasn't been a thing in a VERY long time. We have to update hacking
as well beause the hacking this depends on also depends on a very old
pbr.

Change-Id: I1bf97a5fe1c1ae10f951510c2b95d43b4e9b8b19
This commit is contained in:
Monty Taylor 2015-02-27 21:59:21 -05:00
parent 976ce5abff
commit 4851742244
5 changed files with 5 additions and 10 deletions

View File

@ -330,7 +330,7 @@ def _main(config):
def main():
if len(sys.argv) != 2:
print "Usage: %s CONFIGFILE" % sys.argv[0]
print("Usage: %s CONFIGFILE" % sys.argv[0])
sys.exit(1)
config = ConfigParser.ConfigParser({'force_ssl': 'false',

View File

@ -1,5 +1,4 @@
d2to1>=0.2.10,<0.3
pbr>=0.5,<0.6
pbr>=0.6,!=0.7,<1.0
gerritlib
irc

View File

@ -16,10 +16,6 @@ classifier =
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
[global]
setup-hooks =
pbr.hooks.setup_hook
[entry_points]
console_scripts =
gerritbot = gerritbot.bot:main

View File

@ -17,5 +17,5 @@
import setuptools
setuptools.setup(
setup_requires=['d2to1', 'pbr'],
d2to1=True)
setup_requires=['pbr'],
pbr=True)

View File

@ -1,2 +1,2 @@
hacking>=0.5.4,<0.6
hacking>=0.10.0,<0.11
sphinx>=1.1.2