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:
parent
976ce5abff
commit
4851742244
@ -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',
|
||||
|
@ -1,5 +1,4 @@
|
||||
d2to1>=0.2.10,<0.3
|
||||
pbr>=0.5,<0.6
|
||||
pbr>=0.6,!=0.7,<1.0
|
||||
|
||||
gerritlib
|
||||
irc
|
||||
|
@ -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
|
||||
|
4
setup.py
4
setup.py
@ -17,5 +17,5 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['d2to1', 'pbr'],
|
||||
d2to1=True)
|
||||
setup_requires=['pbr'],
|
||||
pbr=True)
|
||||
|
@ -1,2 +1,2 @@
|
||||
hacking>=0.5.4,<0.6
|
||||
hacking>=0.10.0,<0.11
|
||||
sphinx>=1.1.2
|
||||
|
Loading…
Reference in New Issue
Block a user