Developers' guide: suggest using pip install -e rather than manually creating symlinks

Issue #193 resolved
Anonymous created an issue

I got this idea from the [ hyperspy developers' guide]:

instead of

$ cd /some/directory
$ hg clone sumatra_src
$ ln -s sumatra_src/src sumatra
$ export PYTHONPATH=/some/directory:${PYTHONPATH}
$ export PATH=/some/directory/sumatra_src/bin:${PATH}

you can use

$ cd /some/directory
$ hg clone sumatra_src
$ pip install [--user] --editable sumatra_src

If using --user you need to make sure that ${HOME}/.local/bin (or wherever pip --user installs binaries in your system) is in the PATH.

Comments (3)

  1. Log in to comment