diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-11-30 15:54:12 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-11-30 15:54:12 +0900 |
commit | f2c6dfe1066aeecb5fdf2fb1cd5ce6476565fd24 (patch) | |
tree | 1a103dbc35ddef07f83d48c7d1ee02dd41eadc62 /setup.py | |
parent | 1150dc49c40815b651a8a0db47f10f57bf89618b (diff) |
set setup.py install_requires properly
Let's enable pip to solve the dependency.
The code is taken from OpenStack.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,9 @@ from setuptools import find_packages from setuptools import setup from ryu import version +from ryu import utils + +requires = utils.parse_requirements() doing_bdist = any(arg.startswith('bdist') for arg in sys.argv[1:]) @@ -53,6 +56,7 @@ setup(name='ryu', url='http://osrg.github.com/ryu/', author='Ryu project team', author_email='ryu-devel@lists.sourceforge.net', + install_requires=requires, license='Apache License 2.0', packages=find_packages(), scripts=['bin/ryu-manager', |