1. Andrew Davison
  2. sumatra

Issues

Issue #193 resolved

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

Anonymous created an issue

I got this idea from the [http://hyperspy.org/developer.html hyperspy developers' guide]:

instead of

$ cd /some/directory
$ hg clone https://neuralensemble.org/hg/sumatra 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 https://neuralensemble.org/hg/sumatra 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