packaging: Bring installation instructions up to date

This commit is contained in:
Andrew Hamilton 2024-12-28 18:02:37 +10:00
parent bfb0d941b0
commit 2df35a9064
2 changed files with 5 additions and 5 deletions

View file

@ -6,14 +6,13 @@ Edit two files side by side, showing differences.
## Installation ## Installation
Install diff-edit directly using pip: Install diff-edit directly using pipx:
pip install --upgrade pip # A recent version of pip is needed. pipx install git+https://gitlab.com/ahamilton/diff-edit
pip install --use-deprecated=legacy-resolver git+https://github.com/ahamilton/diff-edit
Or install from source: Or install from source:
git clone https://github.com/ahamilton/diff-edit git clone https://gitlab.com/ahamilton/diff-edit
cd diff-edit cd diff-edit
./install ./install

View file

@ -2,6 +2,7 @@
set -e set -e
set -x
python3 -m pip install --use-deprecated=legacy-resolver $1 . pipx install "$@" .