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:
parent
983aa398e9
commit
205485e052
@ -43,6 +43,7 @@ doc_files = LICENSE
|
||||
|
||||
[global]
|
||||
setup-hooks =
|
||||
pbr.hooks.setup_hook
|
||||
ryu.hooks.setup_hook
|
||||
|
||||
[entry_points]
|
||||
|
10
setup.py
10
setup.py
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user