Skip to content

Commit e5d0abb

Browse files
Add extras_require setting to setup.py.
1 parent d536297 commit e5d0abb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ Official implementation of the [Bitfinex APIs (V2)](https://docs.bitfinex.com/do
1919
python3 -m pip install bitfinex-api-py
2020
```
2121

22+
If you intend to use mypy type hints in your project, use:
23+
```console
24+
python3 -m pip install bitfinex-api-py[typing]
25+
```
26+
2227
---
2328

2429
# Quickstart

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@
4545
"pyee~=11.1.0",
4646
"websockets~=12.0",
4747
"requests~=2.32.3",
48-
"types-requests~=2.31.0.10",
49-
"types-urllib3~=1.26.25.14",
5048
],
49+
extras_require={
50+
"typing": [
51+
"types-requests~=2.32.0.20241016",
52+
]
53+
},
5154
python_requires=">=3.8",
5255
package_data={"bfxapi": ["py.typed"]},
5356
)

0 commit comments

Comments
 (0)