-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
50 lines (42 loc) · 1.25 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "json2python-models"
description = "Python models (pydantic, attrs, dataclasses or custom) generator from JSON data with typing module support"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
authors = [
{ name = "bogdandm (Bogdan Kalashnikov)", email = "[email protected]" }
]
dynamic = ['version', 'dependencies']
[project.urls]
"Repository" = "https://github.com/bogdandm/json2python-models"
[project.optional-dependencies]
test = [
"pytest>=4.4.0",
"pytest-xdist",
"pytest-cov",
"requests",
"attrs",
"pydantic>=1.3",
"ruamel.yaml",
"coverage"
]
[project.scripts]
json2models = "json_to_models.cli:main"
[tool.setuptools]
packages = { find = { exclude = ["test", "testing_tools"] } }
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
version = { attr = "json_to_models.__version__" }
readme = { file = ['README.md'] }
[tool.setuptools.package-data]
"*" = ['*.txt.', '*.ini', ".coveragerc", "LICENSE", "*.md"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"no_expected: testing data has no expected value",
"slow_http: api that provides testing data is slow"
]