-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (63 loc) · 1.89 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (63 loc) · 1.89 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
71
72
73
[project]
name = "sqlalchemyseed"
description = "SQLAlchemy Seeder"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "Jedy Matt Tabasco", email = "hello@jedymatt.dev" },
]
keywords = ["sqlalchemy", "orm", "seed", "seeder", "json", "yaml"]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"SQLAlchemy>=2.0",
]
dynamic = ["version"]
[project.optional-dependencies]
yaml = [
"PyYAML>=6.0",
]
async = [
# Pulls greenlet, which backs AsyncSession.run_sync. You still need an
# async driver of your own (e.g. aiosqlite, asyncpg).
"SQLAlchemy[asyncio]>=2.0",
]
[project.scripts]
sqlalchemyseed = "sqlalchemyseed.cli:main"
[project.entry-points.pytest11]
sqlalchemyseed = "sqlalchemyseed.pytest_plugin"
[project.urls]
Homepage = "https://github.com/jedymatt/sqlalchemyseed"
Documentation = "https://sqlalchemyseed.readthedocs.io/"
Source = "https://github.com/jedymatt/sqlalchemyseed"
Tracker = "https://github.com/jedymatt/sqlalchemyseed/issues"
[dependency-groups]
dev = [
# 9.0.3 fixes GHSA-6w46-j5rx-g56g (tmpdir handling); it needs Python >=3.10,
# which is now the floor.
"pytest>=9.0.3",
"coverage>=6.2",
"PyYAML>=6.0",
# Async seeder tests: aiosqlite provides an async SQLite driver, greenlet
# backs SQLAlchemy's AsyncSession.run_sync bridge.
"aiosqlite>=0.19",
"greenlet>=3.0",
]
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = { attr = "sqlalchemyseed.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
sqlalchemyseed = ["res/*.json"]
[tool.uv]
default-groups = ["dev"]