Skip to content

Commit

Permalink
stick with pbr 0.5.19
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yamt authored and fujita committed Sep 2, 2013
1 parent 983aa39 commit 205485e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ doc_files = LICENSE

[global]
setup-hooks =
pbr.hooks.setup_hook
ryu.hooks.setup_hook

[entry_points]
Expand Down
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 205485e

Please sign in to comment.