Add install script

This commit is contained in:
Andrew Hamilton 2022-05-12 23:48:43 +10:00
parent 8ed82c768b
commit 59314ad325
2 changed files with 11 additions and 2 deletions

View file

@ -14,8 +14,8 @@ Install diff-edit directly using pip:
Or install from source:
git clone https://github.com/ahamilton/diff-edit
pip install --upgrade pip # A recent version of pip is needed.
pip install --use-deprecated=legacy-resolver ./diff-edit
cd diff-edit
./install
Then to run:

9
install Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
set -e
sudo apt-get install -y python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install --use-deprecated=legacy-resolver $1 ./