-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
85 lines (76 loc) · 2.6 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
77
78
79
80
81
82
83
84
85
[build-system]
requires = [
'setuptools==70.1.1',
'wheel==0.43.0'
]
build-backend = 'setuptools.build_meta'
[project]
name = "kaso-mashin"
description = "Building a mini-cloud as a playground"
urls = { "Sources" = "https://github.com/MrMatAP/kaso-mashin" }
keywords = ["mac", "virtualization", "virtualisation", "arm64"]
readme = "README.md"
license = { text = "MIT" }
authors = [
{ "name" = "Mathieu Imfeld", "email" = "imfeldma+9jqerw@gmail.com" }
]
maintainers = [
{ "name" = "Mathieu Imfeld", "email" = "imfeldma+9jqerw@gmail.com" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT",
"Programming Language :: Python :: 3.12"
]
requires-python = ">=3.12"
dependencies = [
"rich==13.7.1", # MIT
"requests==2.32.3", # Apache 2.0
"pyyaml==6.0.1", # MIT
"netifaces==0.11.0", # MIT
"aiosqlite==0.20.0", # MIT
"sqlalchemy[asyncio]==2.0.30", # MIT
"websockets==12.0", # BSD 3-Clause
"fastapi==0.111.0", # MIT
"uvicorn==0.24.0.post1", # BSD 3-Clause
"httpx==0.27.0", # BSD 3-Clause
"aiofiles==23.2.1", # Apache 2.0
"qemu.qmp==0.0.3", # LGPLv2+
"passlib==1.7.4", # BSD
"aioconsole==0.7.1", # GPLv3
"jinja2==3.1.4", # BSD 3-Clause
"asyncio-events==0.1.4" # BSD
]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = { attr = "ci.version"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["kaso_mashin*"]
namespaces = true
[tool.setuptools.package-data]
"*" = [".mo", "*.yml", "*.yaml", "*.md", "inventory", "*.j2", "*.html", "*.ico", "*.css", "*.js", "*.svg", "*.woff", "*.eot", "*.ttf"]
[project.scripts]
kaso = "kaso_mashin.cli.run:main"
kaso-server = "kaso_mashin.server.run:main"
# If you are debugging your tests using PyCharm then comment out the coverage options
# in addopts
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=kaso_mashin --cov-report=term --cov-report=xml:build/coverage.xml --junit-xml=build/junit.xml"
testpaths = ["tests"]
junit_family = "xunit2"
log_cli = 1
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format="%Y-%m-%d %H:%M:%S"
asyncio_mode = "auto"
[tool.mypy]
plugins = [ 'pydantic.mypy' ]
[tool.black]
line-length = 100
target-version = ['py312']
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true