-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
75 lines (67 loc) · 1.99 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "ably"
version = "2.0.7"
description = "Python REST and Realtime client library SDK for Ably realtime messaging service"
license = "Apache-2.0"
authors = ["Ably <[email protected]>"]
readme = "LONG_DESCRIPTION.rst"
homepage = "https://ably.com"
repository = "https://github.com/ably/ably-python"
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = [
'ably/**/*.py'
]
[tool.poetry.dependencies]
python = "^3.7"
# Mandatory dependencies
methoddispatch = "^3.0.2"
msgpack = "^1.0.0"
httpx = [
{ version = "^0.24.1", python = "~3.7" },
{ version = ">= 0.25.0, < 1.0", python = "^3.8" },
]
h2 = "^4.1.0" # required for httx package, HTTP2 communication
websockets = ">= 10.0, < 13.0"
pyee = [
{ version = "^9.0.4", python = "~3.7" },
{ version = "^11.1.0", python = "^3.8" }
]
# Optional dependencies
pycrypto = { version = "^2.6.1", optional = true }
pycryptodome = { version = "*", optional = true }
[tool.poetry.extras]
oldcrypto = ["pycrypto"]
crypto = ["pycryptodome"]
[tool.poetry.dev-dependencies]
pytest = "^7.1"
mock = "^4.0.3"
pep8-naming = "^0.4.1"
pytest-cov = "^2.4"
flake8="^3.9.2"
pytest-xdist = "^1.15"
respx = "^0.20.0"
importlib-metadata = "^4.12"
pytest-timeout = "^2.1.0"
async-case = { version = "^10.1.0", python = "~3.7" }
tokenize_rt = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
timeout = 30
[tool.poetry.scripts]
unasync = 'ably.scripts.unasync:run'