-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (117 loc) · 3.69 KB
/
Copy pathpyproject.toml
File metadata and controls
126 lines (117 loc) · 3.69 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[build-system]
requires = [
"hatchling>=1.4.1",
]
build-backend = "hatchling.build"
[tool.hatch.build]
# Ship the whole `dotbot` package, not an enumeration of file types: the
# package carries data files next to its code (Textual stylesheets, the
# built console, example scene assets) and any allowlist that names
# extensions drops the next one silently.
include = [
"/dotbot/",
"*.py"
]
exclude = [
"dotbot/console-web/node_modules",
"utils/"
]
# The console build output is gitignored (dist/); artifacts overrides the
# VCS-ignore so the built app ships in the packages.
artifacts = [
"dotbot/console-web/dist",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist.hooks.custom]
path = "utils/hooks/sdist.py"
[project]
name = "pydotbot"
version = "0.31.0"
authors = [
{ name="Alexandre Abadie", email="alexandre.abadie@inria.fr" },
{ name="Theo Akbas", email="theo.akbas@inria.fr" },
{ name="Filip Maksimovic", email="filip.maksimovic@inria.fr" },
{ name="Said Alvarado-Marin", email="said-alexander.alvarado-marin@inria.fr" },
{ name="Mališa Vučinić", email="malisa.vucinic@inria.fr" },
{ name="Diego Badillo", email="diego.badillo@sansano.usm.cl" },
{ name="Geovane Fedrecheski", email="geovane.fedrecheski@inria.fr" },
]
dependencies = [
"certifi >= 2023.5.7",
"click >= 8.1.7",
"fastapi >= 0.115.0",
"httpx >= 0.27.2",
"numpy >= 2.1.1",
"pygame >= 2.6.1",
"pynput >= 1.8.1",
"pyserial >= 3.5",
"qrkey >= 0.12.2",
"requests >= 2.31.0",
"rich >= 14.0.0",
"structlog >= 24.4.0",
"uvicorn >= 0.32.0",
"websockets >= 13.1.0",
"gmqtt >= 0.7.0",
"intelhex >= 2.3.0",
"marilib-pkg >= 0.11.0",
"pydotbot-utils >= 0.3.0",
"swarmit >= 0.10.0",
"toml >= 0.10.2",
"tomlkit >= 0.13.0",
# Runs the simulator's firmware control core. Majors ship monthly; the
# loader is tested on 49 only, and the bound admits the next few on the
# expectation that the small Engine/Module/Instance/Memory API it uses
# holds.
# No wheels for 32-bit ARM, where the simulator is unavailable.
"wasmtime >= 49.0.0, < 55; platform_machine != 'armv7l'",
]
description = "Package to easily control your DotBots and SailBots."
readme = "README.md"
license = { text="BSD" }
requires-python = ">=3.7"
classifiers = [
'Programming Language :: C',
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
]
[project.urls]
"Homepage" = "https://github.com/DotBots/PyDotBot"
"Bug Tracker" = "https://github.com/DotBots/PyDotBot/issues"
[project.scripts]
# The unified dispatcher is the only console script. Every workflow is a
# `dotbot <group> <verb>` subcommand — there are no per-command `dotbot-*`
# binaries.
dotbot = "dotbot.cli.main:cli"
[project.optional-dependencies]
# Optional subcommand backends. Keep the core install lean; opt in to
# the bits you actually use.
calibrate = [
"opencv-python >= 4.12.0.88",
"pillow >= 10.1.0",
"textual >= 6.4.0",
]
all = [
"opencv-python >= 4.12.0.88",
"pillow >= 10.1.0",
"textual >= 6.4.0",
]
dev = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"ruff",
"black",
"isort",
"pre-commit",
]
[tool.ruff]
lint.select = ["E", "F"]
line-length = 88
lint.ignore = ["E501"]
[tool.isort]
multi_line_output = 3 # Use Vertical Hanging Indent
profile = "black"