From 55aa47489306ebb3bfa3307e3fa5a332007a58ed Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 2 Aug 2013 14:33:40 +0900 Subject: [PATCH] support setup.py install with git archive tarballs Signed-off-by: FUJITA Tomonori --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index a613f3fb..54dc9cb5 100644 --- a/setup.py +++ b/setup.py @@ -15,8 +15,11 @@ # limitations under the License. import setuptools +import os +from ryu import version +os.environ["PBR_VERSION"] = str(version) setuptools.setup(name='ryu', setup_requires=['d2to1', 'pbr'], d2to1=True)