diff options
author | Kali Kaneko <kali@leap.se> | 2015-07-22 16:03:50 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-07-22 16:37:25 -0400 |
commit | 5b5e5b935b58f430dc12842bc111b2ba9d0973a9 (patch) | |
tree | 9babdbc03a812d22531d66284c1fabfe1f4a154a /setup.py | |
parent | 0c53c7f3fd76895cbb355bdc71818ae26af73432 (diff) |
[pkg] do not add leap deps in develop mode
it is the responsibility of the developer to install them now
- Related: #7288
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -107,9 +107,21 @@ cmdclass["freeze_debianver"] = freeze_debianver # XXX add ref to docs -requirements = ( - utils.parse_requirements() + - utils.parse_requirements(reqfiles=["pkg/requirements-leap.pip"])) +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.keymanager', |