diff options
author | Kali Kaneko <kali@leap.se> | 2015-07-22 10:31:59 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-07-22 12:28:27 -0400 |
commit | 9c79c40930b3f1a031ab3b157ce702eecedad8af (patch) | |
tree | 1dff281d9c43841b3328f21ca971a12a3a30555b /setup.py | |
parent | 3c229540510fd9af27b6a4c473ebc68a1ee468c5 (diff) |
[pkg] separate leap requirements
this is part of a process to make the setup of the development mode less
troublesome. from now on, setting up a virtualenv in pure development
mode will be as easy as telling pip to just install the external
dependencies::
pip install -r pkg/requirements.pip
and traversing all the leap repos for the needed leap dependencies doing::
python setup.py develop
- Related: #7288
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -107,6 +107,10 @@ cmdclass["freeze_debianver"] = freeze_debianver # XXX add ref to docs +requirements = ( + utils.parse_requirements() + + utils.parse_requirements(reqfiles=["pkg/requirements-leap.pip"])) + setup( name='leap.keymanager', version=VERSION, @@ -129,7 +133,7 @@ setup( packages=find_packages('src', exclude=['leap.keymanager.tests']), package_dir={'': 'src'}, test_suite='leap.keymanager.tests', - install_requires=utils.parse_requirements(), + install_requires=requirements, tests_require=utils.parse_requirements( reqfiles=['pkg/requirements-testing.pip']), ) |