From 2fd7e911e45d190e32874cfe402660470fafed2c Mon Sep 17 00:00:00 2001 From: Gabriel Hurley Date: Thu, 1 Mar 2012 17:07:16 -0800 Subject: Removed unwanted handling for the -e and -f flags in install_requires. Change-Id: I35b64d484311f3af97d818f82aa52815b0794f2c --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 62c0eeca..dad157af 100755 --- a/setup.py +++ b/setup.py @@ -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) -- cgit v1.2.1