mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-18 14:24:21 +01:00
Add support for Python 3.11 (edit setup.py).
This commit is contained in:
25
setup.py
25
setup.py
@@ -1,8 +1,10 @@
|
|||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
_version = {}
|
_version = { }
|
||||||
with open("bfxapi/_version.py", encoding="utf-8") as fp:
|
|
||||||
exec(fp.read(), _version) #pylint: disable=exec-used
|
with open("bfxapi/_version.py", encoding="utf-8") as f:
|
||||||
|
#pylint: disable-next=exec-used
|
||||||
|
exec(f.read(), _version)
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="bitfinex-api-py",
|
name="bitfinex-api-py",
|
||||||
@@ -25,6 +27,7 @@ setup(
|
|||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
],
|
],
|
||||||
keywords="bitfinex,api,trading",
|
keywords="bitfinex,api,trading",
|
||||||
project_urls={
|
project_urls={
|
||||||
@@ -32,10 +35,16 @@ setup(
|
|||||||
"Source": "https://github.com/bitfinexcom/bitfinex-api-py",
|
"Source": "https://github.com/bitfinexcom/bitfinex-api-py",
|
||||||
},
|
},
|
||||||
packages=[
|
packages=[
|
||||||
"bfxapi", "bfxapi._utils", "bfxapi.types",
|
"bfxapi",
|
||||||
"bfxapi.websocket", "bfxapi.websocket._client", "bfxapi.websocket._handlers",
|
"bfxapi._utils",
|
||||||
"bfxapi.websocket._event_emitter",
|
"bfxapi.types",
|
||||||
"bfxapi.rest", "bfxapi.rest.endpoints", "bfxapi.rest.middleware",
|
"bfxapi.websocket",
|
||||||
|
"bfxapi.websocket._client",
|
||||||
|
"bfxapi.websocket._handlers",
|
||||||
|
"bfxapi.websocket._event_emitter",
|
||||||
|
"bfxapi.rest",
|
||||||
|
"bfxapi.rest.endpoints",
|
||||||
|
"bfxapi.rest.middleware",
|
||||||
],
|
],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"pyee~=9.0.4",
|
"pyee~=9.0.4",
|
||||||
@@ -44,4 +53,4 @@ setup(
|
|||||||
"urllib3~=1.26.14",
|
"urllib3~=1.26.14",
|
||||||
],
|
],
|
||||||
python_requires=">=3.8"
|
python_requires=">=3.8"
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user