summaryrefslogtreecommitdiff
path: root/client/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/setup.py')
-rw-r--r--client/setup.py19
1 files changed, 18 insertions, 1 deletions
diff --git a/client/setup.py b/client/setup.py
index c3e4936f..5d9955e6 100644
--- a/client/setup.py
+++ b/client/setup.py
@@ -106,8 +106,25 @@ def get_versions(default={}, verbose=False):
cmdclass["freeze_debianver"] = freeze_debianver
+
# XXX add ref to docs
+requirements = utils.parse_requirements()
+
+if utils.is_develop_mode():
+ print
+ print ("[WARNING] Skipping leap-specific dependencies "
+ "because development mode is detected.")
+ print ("[WARNING] You can install "
+ "the latest published versions with "
+ "'pip install -r pkg/requirements-leap.pip'")
+ print ("[WARNING] Or you can instead do 'python setup.py develop' "
+ "from the parent folder of each one of them.")
+ print
+else:
+ requirements += utils.parse_requirements(
+ reqfiles=["pkg/requirements-leap.pip"])
+
setup(
name='leap.soledad.client',
version=VERSION,
@@ -130,6 +147,6 @@ setup(
namespace_packages=["leap", "leap.soledad"],
packages=find_packages('src'),
package_dir={'': 'src'},
- install_requires=utils.parse_requirements(),
+ install_requires=requirements,
extras_require={'signaling': ['leap.common>=0.3.0']},
)