summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/__init__.py18
-rw-r--r--setup.py4
2 files changed, 21 insertions, 1 deletions
diff --git a/ryu/__init__.py b/ryu/__init__.py
index e69de29b..3cb60c61 100644
--- a/ryu/__init__.py
+++ b/ryu/__init__.py
@@ -0,0 +1,18 @@
+# Copyright (C) 2012 Nippon Telegraph and Telephone Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+version_info = (0, 2)
+version = '.'.join(map(str, version_info))
diff --git a/setup.py b/setup.py
index ef651249..68ae4e0d 100644
--- a/setup.py
+++ b/setup.py
@@ -20,6 +20,8 @@ import sys
from setuptools import find_packages
from setuptools import setup
+from ryu import version
+
doing_bdist = any(arg.startswith('bdist') for arg in sys.argv[1:])
long_description = open('README.rst').read() + '\n\n'
@@ -38,7 +40,7 @@ classifiers = [
]
setup(name='ryu',
- version='0.2',
+ version=version,
description=("Ryu Network Operating System"),
long_description=long_description,
classifiers=classifiers,