update readme
This commit is contained in:
20
README.md
20
README.md
@@ -1,18 +1,8 @@
|
||||
# Install
|
||||
Install in "development mode" so any change of the program is effective.
|
||||
Install, in "development mode", so any change in the local repo is effective:
|
||||
|
||||
Note: For system wide (global) installation log in as root or use sudo for example.
|
||||
For local (user) installation the local path must be in the `PYTHONPATH` environment variable.
|
||||
Typically `$HOME/.local/lib/pythonX.Y/site-packages`
|
||||
|
||||
Use either:
|
||||
|
||||
pip install -e .
|
||||
pip install --user -e .
|
||||
python -m pip install -e .
|
||||
easy_install --prefix=$HOME/.local -e .
|
||||
pip install --install-option="--prefix-$HOME/.local" -e .
|
||||
python -m pip install --editable git+<url>#egg=mechanics --src=$HOME/repos --prefix=$HOME/.local --break-system-packages
|
||||
|
||||
|
||||
# Uninstall
|
||||
pip uninstall mechanics
|
||||
Uninstall:
|
||||
|
||||
python -m pip uninstall mechanics --break-system-packages
|
||||
|
||||
Reference in New Issue
Block a user