diff --git a/README.md b/README.md index bc3653f..05ee57e 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/install b/install new file mode 100755 index 0000000..534122c --- /dev/null +++ b/install @@ -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 ./