Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:

install:
- pip install awscli
- pip install psycopg2
- pip install -r requires/testing.txt
- python setup.py develop

Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ Queries is available via pypi_ and can be installed with easy_install or pip:

.. code:: bash

pip install psycopg2-binary # or psycopg2 or psycopg2cffi (for PyPy)
pip install queries

- `psycopg2` package supported version: `>=2.5.1,<2.9`
- `psycopg2cffi` package supported version: `>=2.7.2,<2.9`

Usage
-----
Queries provides a session based API for interacting with PostgreSQL.
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

import setuptools

# PYPY vs cpython
if platform.python_implementation() == 'PyPy':
install_requires = ['psycopg2cffi>=2.7.2,<2.9']
else:
install_requires = ['psycopg2>=2.5.1,<2.9']
install_requires = []

# Install tornado if generating docs on readthedocs
if os.environ.get('READTHEDOCS', None) == 'True':
Expand Down