Skip to content

Commit

Permalink
Merge pull request #5 from wizeline/pip10
Browse files Browse the repository at this point in the history
Make it pip10 compatible
  • Loading branch information
pabloariasperez authored Apr 17, 2018
2 parents f978a22 + 32ff487 commit a5497d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Clone this respository and create the virtual environment:
```
$ git clone https://github.com/wizeline/sqlalchemy-pagination
$ cd sqlalchemy-pagination
$ mkvirtualenv sqlalchemy-pagination
$ mkvirtualenv -p python3 sqlalchemy-pagination
$ workon sqlalchemy-pagination
$ pip install -r requirements-dev.txt
$ pip install tox
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ nose==1.3.7
pep8-naming==0.3.3
rednose==1.1.0
sure==1.2.24
factory-boy==2.6.1
factory-boy==2.10.0
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import re
from pip.req import parse_requirements

try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements

from setuptools import setup, find_packages


Expand Down

0 comments on commit a5497d0

Please sign in to comment.