-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
76 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
76
[build-system]
requires = ["maturin>=1.2,<2.0"]
build-backend = "maturin"
[project]
name = "convex"
version = "0.7.0" # Also update in __init__.py
description = "Python client for the reactive backend-as-a-service Convex."
authors = [
{ name = "Convex, Inc", email = "support@convex.dev" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: JavaScript",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Rust",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules"
]
license = "Apache-2.0"
[project.urls]
homepage = "https://convex.dev"
repository = "https://github.com/get-convex/convex-py"
documentation = "https://docs.convex.dev"
[tool.maturin]
python-source = "python"
python-packages = ["convex", "_convex"]
bindings = "pyo3"
features = ["pyo3/extension-module"]
[tool.poetry]
# We publish with maturin which uses the [project] metadata above
# but these three fields are required just to be able to use poetry.
name = "convex"
version = "0.7.0" # Also update in __init__.py
description = "Python client for the reactive backend-as-a-service Convex."
authors = ["Convex, Inc. <support@convex.dev>"]
license = "Apache-2.0"
[tool.poetry.dependencies]
python = ">=3.9"
python-dotenv = "^1.0.0"
requests = "^2.32.0"
[tool.poetry.group.dev.dependencies]
autoflake = "^2.0.0"
black = ">=23,<25"
flake8 = { version = "^7.0.0", python = "^3.9" }
flake8-bugbear = { version = "^24.0.0", python = "^3.9" }
flake8-docstrings = { version = "^1.7.0", python = "^3.9" }
flake8-noqa = { version = "^1.3.0", python = "^3.9" }
isort = "^5.10.1"
maturin = ">=1.2,<2.0"
mypy = "^1.0"
pytest = "^7.1.2"
pytest-profiling = "^1.7.0"
twine = "^4.0.2"
types-requests = "^2.27.30"
typing-extensions = "^4.4.0"
[tool.pytest.ini_options]
addopts = "--doctest-modules"
testpaths = [
"tests",
"integration",
"convex"
]
[tool.mypy]
strict = true
[tool.isort]
skip = [".venv"]