diff --git a/.travis.yml b/.travis.yml index 098fa3d..38d5530 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ before_install: - "sudo apt-get update -qq" - "sudo apt-get install python-dev python-pip python-pyexiv2 libimage-exiftool-perl -y" install: - - "sudo pip install docopt LatLon mock nose requests send2trash" + - "sudo pip install -r elodie/tests/requirements.txt" # command to run tests # test mapquest key before_script: diff --git a/Readme.md b/Readme.md index b79303f..2b7a8b4 100644 --- a/Readme.md +++ b/Readme.md @@ -173,10 +173,7 @@ git clone https://github.com/jmathai/elodie.git The commands on this page assume you're running them from the root of this repository. I don't have any submodules but you'll need to install the following packages. ``` -pip install LatLon -pip install requests -pip install docopt -pip install send2trash +pip install -r requirements.txt ``` You'll need to install *exiftool* *pyexiv2* using `homebrew` on OSX. If you're running another operating system you're sort of on your own but my pal Google should be able to help. Some folks may be able to simply run these commands. Installing *boost* is a drag and can take up to 30 minutes. Don't say I didn't warn you. diff --git a/docs/requirements.txt b/docs/requirements.txt index 8b44d9f..4164cd9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,3 @@ -LatLon -docopt -requests -mock -send2trash -sphinx +-r ../requirements.txt +mock>=1.3.0,<2.0 +sphinx>=1.3.4,<2.0 diff --git a/elodie/tests/requirements.txt b/elodie/tests/requirements.txt new file mode 100644 index 0000000..0964c1c --- /dev/null +++ b/elodie/tests/requirements.txt @@ -0,0 +1,3 @@ +-r ../../requirements.txt +mock>=1.3.0,<2.0 +nose>=1.3.7,<2.0 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0e57c34 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +docopt>=0.6.2,<1.0 +LatLon>=1.0.2,<2.0 +requests>=2.9.1,<3.0 +send2trash>=1.3.0,<2.0