Skip to content

Commit

Permalink
Removed unwanted handling for the -e and -f flags in install_requires.
Browse files Browse the repository at this point in the history
Change-Id: I35b64d484311f3af97d818f82aa52815b0794f2c
  • Loading branch information
gabrielhurley committed Mar 2, 2012
1 parent 07559be commit 2fd7e91
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -42,9 +42,7 @@ def parse_requirements(*filenames):
for line in open(f, 'r').read().split('\n'):
if re.match(r'(\s*#)|(\s*$)', line):
continue
if re.match(r'\s*-e\s+', line):
requirements.append(re.sub(r'\s*-e\s+.*#egg=(.*)$', r'\1', line))
elif re.match(r'\s*-f\s+', line):
elif re.match(r'\s*-[ef]\s+', line):
pass
else:
requirements.append(line)
Expand Down

0 comments on commit 2fd7e91

Please sign in to comment.