diff --git a/README.md b/README.md index 755c837..63fabc8 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,6 @@ Oratio CLI requires the following dependencies: - `requests` - http://docs.python-requests.org/en/latest/ - `appdirs` - https://pypi.python.org/pypi/appdirs/1.4.0 + +You can install these by running `setup.sh`. +Note: `setup.sh` will install pip for Python 3 but it will overwrite pip for Python 2. If you don't want the setup file to do this (or if you use Ubuntu 12.04 or older, where setup.sh won't work), then follow the instructions [from this answer on AskUbuntu.com](http://askubuntu.com/a/412179/282856). You'll also have to run the installation commands for the dependencies manually, see setup.sh for the dependency names. diff --git a/setup.sh b/setup.sh index b632b9f..07be446 100644 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,5 @@ sudo apt-get update sudo apt-get install python3-setuptools sudo easy_install3 pip -sudo mv /usr/local/bin/pip /usr/local/bin/pip3 -pip3 install appdirs -pip3 install requests --upgrade +pip install appdirs +pip install requests --upgrade