update readme

This commit is contained in:
2024-07-20 12:26:57 +02:00
parent e0469997ba
commit 5841ee4eef

View File

@@ -1,18 +1,8 @@
# Install Install, in "development mode", so any change in the local repo is effective:
Install in "development mode" so any change of the program is effective.
Note: For system wide (global) installation log in as root or use sudo for example. python -m pip install --editable git+<url>#egg=mechanics --src=$HOME/repos --prefix=$HOME/.local --break-system-packages
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 .
# Uninstall Uninstall:
pip uninstall mechanics
python -m pip uninstall mechanics --break-system-packages