1
- [tool .poetry ]
1
+ [build-system ]
2
+ requires = [" pdm-backend" ]
3
+ build-backend = " pdm.backend"
4
+
5
+ [project ]
2
6
name = " sqlmodel"
3
- version = " 0 "
7
+ dynamic = [ " version " ]
4
8
description = " SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness."
5
- authors = [
" Sebastián Ramírez <[email protected] >" ]
6
9
readme = " README.md"
7
- homepage = " https://github.com/tiangolo/sqlmodel "
8
- documentation = " https://sqlmodel.tiangolo.com "
9
- repository = " https://github .com/tiangolo/sqlmodel "
10
- license = " MIT "
11
- exclude = [ " sqlmodel/sql/expression.py.jinja2 " ]
10
+ requires-python = " >=3.7 "
11
+ authors = [
12
+ { name = " Sebastián Ramírez " , email = " tiangolo@gmail .com" },
13
+ ]
14
+
12
15
classifiers = [
13
16
" Development Status :: 4 - Beta" ,
14
17
" Framework :: AsyncIO" ,
@@ -31,36 +34,28 @@ classifiers = [
31
34
" Typing :: Typed" ,
32
35
]
33
36
34
- [ tool . poetry . dependencies ]
35
- python = " ^3.7 "
36
- SQLAlchemy = " >=2.0.0,<2.1 .0"
37
- pydantic = " >=1.10.13,<3.0.0 "
37
+ dependencies = [
38
+ " SQLAlchemy >=2.0.0,<2.1.0 " ,
39
+ " pydantic >=1.10.13,<3.0 .0" ,
40
+ ]
38
41
39
- [tool .poetry .group .dev .dependencies ]
40
- pytest = " ^7.0.1"
41
- mypy = " 1.4.1"
42
- # Needed by the code generator using templates
43
- black = " >=22.10,<24.0"
44
- mkdocs-material = " 9.2.7"
45
- pillow = " ^9.3.0"
46
- cairosvg = " ^2.5.2"
47
- mdx-include = " ^1.4.1"
48
- coverage = {extras = [" toml" ], version = " >=6.2,<8.0" }
49
- fastapi = " ^0.103.2"
50
- ruff = " 0.2.0"
51
- # For FastAPI tests
52
- httpx = " 0.24.1"
53
- # TODO: upgrade when deprecating Python 3.7
54
- dirty-equals = " ^0.6.0"
55
- typer-cli = " ^0.0.13"
56
- mkdocs-markdownextradata-plugin = " >=0.1.7,<0.3.0"
42
+ [project .urls ]
43
+ Homepage = " https://github.com/tiangolo/sqlmodel"
44
+ Documentation = " https://sqlmodel.tiangolo.com"
45
+ Repository = " https://github.com/tiangolo/sqlmodel"
57
46
58
- [build-system ]
59
- requires = [ " poetry-core " ]
60
- build-backend = " poetry.core.masonry.api "
47
+ [tool . pdm ]
48
+ version = { source = " file " , path = " sqlmodel/__init__.py " }
49
+ distribution = true
61
50
62
- [tool .poetry-version-plugin ]
63
- source = " init"
51
+ [tool .pdm .build ]
52
+ source-includes = [
53
+ " tests/" ,
54
+ " docs_src/" ,
55
+ " requirements*.txt" ,
56
+ " scripts/" ,
57
+ " sqlmodel/sql/expression.py.jinja2" ,
58
+ ]
64
59
65
60
[tool .coverage .run ]
66
61
parallel = true
0 commit comments