weatherforce / ipyleaflet-legend

Provide a simple legend as an ipyleafletControl.
http://tech.weatherforce.org/blog/ipyleaflet-legend-release/
MIT License
1 stars 0 forks source link

Cannot install with pip in non-editable mode #3

Open ghost opened 4 years ago

ghost commented 4 years ago
$ python -m venv widget-env
$ source widget-env/bin/activate
(widget-env) $ git clone https://github.com/weatherforce/ipyleaflet-legend.git
(widget-env) $ python -m pip install .
Cloning into 'ipyleaflet-legend'...
[...]
    error: can't copy 'ipyleaflet-legend.json': doesn't exist or not a regular file
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/al/essai/widget-env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-0suj5w_6/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-0suj5w_6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-n1genc5l/install-record.txt --single-version-externally-managed --compile --install-headers /home/al/essai/widget-env/include/site/python3.7/ipyleaflet-legend Check the logs for full command output.