Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Update and fix dependencies.
Browse files Browse the repository at this point in the history
The way the dependencies are specified is too specific, and is causing a bunch
of conflicts elsewhere.

Let's update setup.py to do things the right way, then update
requirements-dev.txt with `pip freeze > requirements-dev.txt`.
  • Loading branch information
brndnmtthws committed Nov 26, 2018
1 parent bd4e2eb commit e4ba196
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cache: pip
python: 3.5

install:
- pip install -r requirements-dev.txt
- pip install .[test]

script:
- python -m pytest tests/
24 changes: 17 additions & 7 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
sortedcontainers>=1.5.9
requests==2.13.0
six==1.10.0
websocket-client==0.40.0
pymongo==3.5.1
pytest>=3.3.0
python-dateutil>=2.7.3
atomicwrites==1.2.1
attrs==18.2.0
cbpro==1.1.4
certifi==2018.10.15
chardet==3.0.4
idna==2.7
more-itertools==4.3.0
pluggy==0.8.0
py==1.7.0
pymongo==3.7.2
pytest==4.0.1
python-dateutil==2.7.5
requests==2.20.1
six==1.11.0
sortedcontainers==2.1.0
urllib3==1.24.1
websocket-client==0.54.0
12 changes: 8 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

install_requires = [
'sortedcontainers>=1.5.9',
'requests==2.13.0',
'six==1.10.0',
'websocket-client==0.40.0',
'pymongo==3.5.1'
'requests>=2.13.0',
'six>=1.10.0',
'websocket-client>=0.40.0',
'pymongo>=3.5.1',
]

tests_require = [
'pytest',
'python-dateutil>=2.7.5',
]

with open("README.md", "r") as fh:
Expand All @@ -27,6 +28,9 @@
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
description='The unofficial Python client for the Coinbase Pro API',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit e4ba196

Please sign in to comment.