summaryrefslogtreecommitdiff
path: root/pkg/utils.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-03-14 10:32:00 +0900
committerkali <kali@leap.se>2013-03-15 01:03:20 +0900
commit9de7e4be688e7c951552b7e75d4b25e7dded0a15 (patch)
treee1a9c38cee7441f3601c50064b1538253a019a10 /pkg/utils.py
parent5aea858b422b8034dfe77bdcfa8649862b567381 (diff)
add external leap.common to requirements
and modify parse_requirements to skip it for now.
Diffstat (limited to 'pkg/utils.py')
-rw-r--r--pkg/utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/utils.py b/pkg/utils.py
index 0b1ea019..5090f2bd 100644
--- a/pkg/utils.py
+++ b/pkg/utils.py
@@ -38,8 +38,10 @@ def parse_requirements(reqfiles=['requirements.txt',
for line in get_reqs_from_files(reqfiles):
# -e git://foo.bar/baz/master#egg=foobar
if re.match(r'\s*-e\s+', line):
- requirements.append(re.sub(r'\s*-e\s+.*#egg=(.*)$', r'\1',
- line))
+ pass
+ # do not try to do anything with externals on vcs
+ #requirements.append(re.sub(r'\s*-e\s+.*#egg=(.*)$', r'\1',
+ #line))
# http://foo.bar/baz/foobar/zipball/master#egg=foobar
elif re.match(r'\s*https?:', line):
requirements.append(re.sub(r'\s*https?:.*#egg=(.*)$', r'\1',