Skip to content

Commit

Permalink
Improve setup.sh and add readme content about it
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-daniels committed Jun 25, 2015
1 parent a161727 commit b512eaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 2 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b512eaf

Please sign in to comment.