forked from tina4stack/tina4-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (60 loc) · 1.49 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (60 loc) · 1.49 KB
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
[project]
name = "tina4-python"
version = "3.13.37"
description = "Tina4 Python v3 — Zero-dependency, lightweight web framework"
authors = [
{name = "Andre van Zuydam", email = "andrevanzuydam@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
# ZERO core dependencies — this is v3's defining feature
dependencies = []
[project.optional-dependencies]
# Database drivers — install what you need
postgres = ["psycopg2-binary>=2.9"]
mysql = ["mysql-connector-python>=9.0"]
mssql = ["pymssql>=2.3"]
firebird = ["firebird-driver>=1.10"]
mongo = ["pymongo>=4.0"]
odbc = ["pyodbc>=5.0"]
# Session backends — install what you need
redis = ["redis>=5.0"]
memcache = ["pymemcache>=4.0"]
# All database drivers
all-db = [
"psycopg2-binary>=2.9",
"mysql-connector-python>=9.0",
"pymssql>=2.3",
"firebird-driver>=1.10",
"pymongo>=4.0",
"pyodbc>=5.0",
]
[dependency-groups]
dev = [
"bottle>=0.13.4",
"cython>=3.2.4",
"django>=6.0.3",
"fastapi>=0.135.1",
"flask>=3.1.3",
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"reportlab>=4.4.10",
"ruff>=0.4",
"setuptools>=82.0.1",
"uvicorn>=0.42.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["tina4_python/**/*"]
[project.scripts]
tina4python = "tina4_python.cli:main"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
target-version = "py312"
line-length = 120