From 7eb9f6fd3ac010f233d0f06e20c939c078ab9a11 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 30 Jun 2014 15:25:11 +0300 Subject: [PATCH] use/install.rst: simplify installation/upgrading --upgrade does nothing if everything is installed and up-to-date. Otherwise it installs or upgrades. --- use/install.rst | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/use/install.rst b/use/install.rst index f1b62a6..b87ed56 100644 --- a/use/install.rst +++ b/use/install.rst @@ -90,11 +90,11 @@ In case you want to use the testing branch which might be more up-to date First we install Limnoria's requirements:: - pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt + pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --upgrade And then Limnoria itself:: - pip install git+https://github.com/ProgVal/Limnoria.git@master + pip install git+https://github.com/ProgVal/Limnoria.git@master --upgrade Local installation ^^^^^^^^^^^^^^^^^^ @@ -102,20 +102,14 @@ Local installation Simply add ``--user`` to the end of both commands. First we install requirements and then Limnoria itself.:: - pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --user - pip install git+https://github.com/ProgVal/Limnoria.git@master --user + pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --user --upgrade + pip install git+https://github.com/ProgVal/Limnoria.git@master --user --upgrade You might need to add $HOME/.local/bin to your PATH.:: echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.$(echo $SHELL|cut -d/ -f3)rc source ~/.$(echo $SHELL|cut -d/ -f3)rc -Upgrading -^^^^^^^^^ - -To upgrade Limnoria, simply add ``--upgrade`` to the end of both commands. - - Configure Supybot -----------------