From 2df35a906402443c0b4d2d0f9d26a4b83182c3ce Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Sat, 28 Dec 2024 18:02:37 +1000 Subject: [PATCH] packaging: Bring installation instructions up to date --- README.md | 7 +++---- install | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 05ee57e..2e71f80 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,13 @@ Edit two files side by side, showing differences. ## Installation -Install diff-edit directly using pip: +Install diff-edit directly using pipx: - pip install --upgrade pip # A recent version of pip is needed. - pip install --use-deprecated=legacy-resolver git+https://github.com/ahamilton/diff-edit + pipx install git+https://gitlab.com/ahamilton/diff-edit Or install from source: - git clone https://github.com/ahamilton/diff-edit + git clone https://gitlab.com/ahamilton/diff-edit cd diff-edit ./install diff --git a/install b/install index 93ab204..917bc5f 100755 --- a/install +++ b/install @@ -2,6 +2,7 @@ set -e +set -x -python3 -m pip install --use-deprecated=legacy-resolver $1 . +pipx install "$@" .