stick with pbr 0.5.19

the latest versions of pbr generate scripts which don't support
multiversion.  to avoid importing modules from older multiversion-aware
installations of ryu, we prefer multiversion-aware scripts.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
YAMAMOTO Takashi 2013-08-30 14:08:49 +09:00 committed by FUJITA Tomonori
parent 983aa398e9
commit 205485e052
2 changed files with 8 additions and 3 deletions

View File

@ -43,6 +43,7 @@ doc_files = LICENSE
[global]
setup-hooks =
pbr.hooks.setup_hook
ryu.hooks.setup_hook
[entry_points]

View File

@ -16,10 +16,14 @@
import setuptools
import os
from ryu import version
os.environ["PBR_VERSION"] = str(version)
# the latest versions of pbr generate scripts which don't support
# multiversion. to avoid importing modules from older multiversion-aware
# installations of ryu, we prefer multiversion-aware scripts.
PBR_VERSION = '0.5.19'
os.environ["PBR_VERSION"] = PBR_VERSION
setuptools.setup(name='ryu',
setup_requires=['pbr'],
setup_requires=['pbr==%s' % (PBR_VERSION,)],
pbr=True)