From afe207b44807ed735efe56d2830d8ac3b73f730f Mon Sep 17 00:00:00 2001 From: Brian Peiris Date: Wed, 31 Dec 2014 07:56:40 -0500 Subject: [PATCH] Add pip to README and install.sh. --- README.md | 2 +- install.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ca0749..d0c0e6c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Tested on Arch Linux mostly. It should work on any other Linux too. Let me know ## Installation -Make sure you have python 2 installed. +Make sure you have python 2 and pip installed. Run install.sh diff --git a/install.sh b/install.sh index c60bdb3..0db071c 100755 --- a/install.sh +++ b/install.sh @@ -14,10 +14,13 @@ TMP=$(mktemp pirate-get-XXXXXX) echo "#!/usr/bin/env python" > "$TMP" fi -sed 1d $(dirname $0)/pirate-get.py >> "$TMP" + sed 1d $(dirname $0)/pirate-get.py >> "$TMP" cp "$TMP" /usr/bin/pirate-get && chmod +x /usr/bin/pirate-get && chmod 755 /usr/bin/pirate-get && + + pip install -r requirements.txt && + rm $TMP } || rm $TMP