summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-11 15:32:40 -0400
committerKali Kaneko <kali@leap.se>2016-03-11 15:32:40 -0400
commit9c566981e4e091cd0f9f44ba28d4425b9791cfe7 (patch)
tree3f66625daa0a6d32245793bf483bc93d0daf7bac /setup.py
parent07dff4d010b284d8d46eb3b8a859083013c7441f (diff)
parent77ff0a10eb83263fdfb94e0bc9b1a38fd7e434f8 (diff)
Merge remote-tracking branch 'leapcode/pr/138' into develop
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index d62f2a6..1e77828 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,11 @@ versioneer.versionfile_build = 'leap/common/_version.py'
versioneer.tag_prefix = '' # tags are like 1.2.0
versioneer.parentdir_prefix = 'leap.common-'
-parsed_reqs = utils.parse_requirements()
+requirements = utils.parse_requirements()
+
+dependency_links = [requirement for requirement in requirements if requirement.startswith('http')]
+requirements = [requirement for requirement in requirements if requirement not in dependency_links]
+requirements.append('dirspec')
tests_requirements = [
'mock',
@@ -134,8 +138,8 @@ setup(
# packages=find_packages('src', exclude=['leap.common.tests']),
packages=find_packages('src'),
test_suite='leap.common.tests',
- install_requires=parsed_reqs,
- # dependency_links=dependency_links,
+ install_requires=requirements,
+ dependency_links=dependency_links,
tests_require=tests_requirements,
include_package_data=True,
zip_safe=False,