summaryrefslogtreecommitdiff
path: root/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
commit9c79c40930b3f1a031ab3b157ce702eecedad8af (patch)
tree1dff281d9c43841b3328f21ca971a12a3a30555b /setup.py
parent3c229540510fd9af27b6a4c473ebc68a1ee468c5 (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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 778909d0..f554e09e 100644
--- a/setup.py
+++ b/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']),
)