don't add -e requirements in setup.py

They don't work properly, so don't try.
This means that until IPython 3 is released,
`pip install -e .` will be insufficient.
IPython will need to be installed separately.
This commit is contained in:
Min RK
2014-11-08 21:00:24 -08:00
parent e79e33051b
commit ab6d67f0c9

View File

@@ -190,8 +190,8 @@ if 'setuptools' in sys.modules:
with open('requirements.txt') as f:
for line in f.readlines():
req = line.strip()
if req.startswith('-e'):
req = line.split('#egg=', 1)[1]
if not req or req.startswith(('-e', '#')):
continue
install_requires.append(req)
#---------------------------------------------------------------------------