summaryrefslogtreecommitdiff
path: root/keymanager/setup.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-22 10:31:59 -0400
committerKali Kaneko <kali@leap.se>2015-07-22 12:28:27 -0400
commitd0535f4e613dddef4037f62bb42a6b8250489871 (patch)
tree866cc833181872e18a00247052f019179f2ff817 /keymanager/setup.py
parentb954f6bfe19a11b579735cc642d61d250ee378df (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 'keymanager/setup.py')
-rw-r--r--keymanager/setup.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/keymanager/setup.py b/keymanager/setup.py
index 778909d..f554e09 100644
--- a/keymanager/setup.py
+++ b/keymanager/setup.py
@@ -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']),
)