diff --git a/setup.py b/setup.py index 4862b5fdc..d6c33ba36 100755 --- a/setup.py +++ b/setup.py @@ -19,8 +19,12 @@ from moniker.openstack.common import setup as common_setup install_requires = common_setup.parse_requirements(['tools/pip-requires']) tests_require = common_setup.parse_requirements(['tools/test-requires']) -dependency_links = common_setup.parse_dependency_links(['tools/pip-requires', - 'tools/test-requires']) +setup_require = common_setup.parse_requirements(['tools/setup-requires']) +dependency_links = common_setup.parse_dependency_links([ + 'tools/pip-requires', + 'tools/test-requires', + 'tools/setup-requires' +]) setup( name='moniker', @@ -32,7 +36,7 @@ setup( packages=find_packages(exclude=['bin']), include_package_data=True, test_suite='nose.collector', - setup_requires=['setuptools-git>=0.4'], + setup_requires=setup_require, install_requires=install_requires, tests_require=tests_require, extras_require={'test': tests_require}, diff --git a/tools/setup-requires b/tools/setup-requires new file mode 100644 index 000000000..72c473c69 --- /dev/null +++ b/tools/setup-requires @@ -0,0 +1 @@ +setuptools-git>=0.4