Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

Commit

Permalink
Specify requests dependency explicitly at 0.14.2 so that slumber does…
Browse files Browse the repository at this point in the history
…n't break. Fixes #5
  • Loading branch information
Steven Day committed Jan 31, 2013
1 parent 835d9be commit f17bf05
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.rst
Expand Up @@ -98,8 +98,10 @@ Requirements

If you don't use pip to install the module, you'll also need:

* requests (``pip install requests==0.14.2``)
* slumber (``pip install slumber``)
* requests (``pip install requests``)

Note you need to specify the version of requests, because slumber does not and it is not compatible with requests >= 1.0.0 yet.

How to run the tests
--------------------
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
@@ -1,2 +1,3 @@
requests==0.14.2
slumber==0.4.2
Oktest==0.11.0
Oktest==0.11.0
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -3,11 +3,11 @@
from setuptools import setup

setup(name='PopIt-Python',
version='0.1.5',
version='0.1.6',
description='Python bindings to connect to the PopIt API',
author='mySociety',
author_email='modules@mysociety.org',
url='https://github.com/mysociety/popit-python',
py_modules=['popit'],
install_requires=['slumber','requests']
)
install_requires=['requests==0.14.2','slumber']
)

0 comments on commit f17bf05

Please sign in to comment.