mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 18:44:10 +00:00
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:
4
setup.py
4
setup.py
@@ -190,8 +190,8 @@ if 'setuptools' in sys.modules:
|
|||||||
with open('requirements.txt') as f:
|
with open('requirements.txt') as f:
|
||||||
for line in f.readlines():
|
for line in f.readlines():
|
||||||
req = line.strip()
|
req = line.strip()
|
||||||
if req.startswith('-e'):
|
if not req or req.startswith(('-e', '#')):
|
||||||
req = line.split('#egg=', 1)[1]
|
continue
|
||||||
install_requires.append(req)
|
install_requires.append(req)
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user