Use ranges in setup.py versions

Versions in setup.py shouldn't be pinned.
https://packaging.python.org/discussions/install-requires-vs-requirements/?highlight=install_requires

Removed also dev dependencies, as setup.py should only keep the ones used for production. For dev and testing you use the ones in requirements.txt.

To understand `~=~ check here: https://pip.pypa.io/en/latest/user_guide/#understanding-your-error-message

>~=3.1: version 3.1 or later, but not version 4.0 or later. ~=3.1.2: version 3.1.2 or later, but not version 3.2.0 or later.
This commit is contained in:
Erik Berdonces Bonelo
2021-02-04 12:56:09 +01:00
committed by GitHub
parent 8a8c325203
commit 90ef627cc6

View File

@@ -46,15 +46,10 @@ setup(
python_requires='>=3.0.0, <4',
# deps installed by pip
install_requires=[
'eventemitter==0.2.0',
'asyncio==3.4.3',
'websockets==7.0',
'pylint==2.3.0',
'pytest-asyncio==0.10.0',
'six==1.12.0',
'pyee==8.0.1',
'aiohttp==3.4.4',
'isort==4.3.21'
'eventemitter~=0.2.0',
'asyncio~=3.0',
'websockets~=7.0',
'aiohttp~=3.0',
],
project_urls={
'Bug Reports': 'https://github.com/bitfinexcom/bitfinex-api-py/issues',