Add extras_require setting to setup.py.

This commit is contained in:
Davide Casale
2024-11-14 05:51:56 +01:00
parent d536297bb2
commit e5d0abb07c
2 changed files with 10 additions and 2 deletions

View File

@@ -19,6 +19,11 @@ Official implementation of the [Bitfinex APIs (V2)](https://docs.bitfinex.com/do
python3 -m pip install bitfinex-api-py
```
If you intend to use mypy type hints in your project, use:
```console
python3 -m pip install bitfinex-api-py[typing]
```
---
# Quickstart

View File

@@ -45,9 +45,12 @@ setup(
"pyee~=11.1.0",
"websockets~=12.0",
"requests~=2.32.3",
"types-requests~=2.31.0.10",
"types-urllib3~=1.26.25.14",
],
extras_require={
"typing": [
"types-requests~=2.32.0.20241016",
]
},
python_requires=">=3.8",
package_data={"bfxapi": ["py.typed"]},
)