-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (56 loc) · 2.1 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
[build-system]
requires = ["hatchling>=1.27", "hatch-vcs>=0.4"]
build-backend = "hatchling.build"
[project]
name = "spikeble"
description = "BLE interface for running Micropython on LEGO SPIKE devices"
readme = "README.md"
requires-python = ">=3.11"
license = { file = "LICENSE" }
authors = [{ name = "Michael Gross", email = "MGross21@users.noreply.github.com" }]
keywords = ["lego", "spike", "ble", "bluetooth", "robotics"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Hardware",
]
dependencies = ["bleak>=1.0.0"]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/MGross21/spikeble"
Repository = "https://github.com/MGross21/spikeble"
Issues = "https://github.com/MGross21/spikeble/issues"
[tool.hatch.version]
source = "vcs"
fallback-version = "0.0.0"
raw-options = { local_scheme = "no-local-version" }
[tool.hatch.build.targets.wheel]
packages = ["spikeble"]
include = ["spikeble/py.typed"]
# Expose MicroPython folders as top-level install packages
[tool.hatch.build.targets.wheel.force-include]
"spikeble/micropython/app" = "app"
"spikeble/micropython/color" = "color"
"spikeble/micropython/color_matrix" = "color_matrix"
"spikeble/micropython/color_sensor" = "color_sensor"
"spikeble/micropython/device" = "device"
"spikeble/micropython/distance_sensor" = "distance_sensor"
"spikeble/micropython/force_sensor" = "force_sensor"
"spikeble/micropython/hub" = "hub"
"spikeble/micropython/motor" = "motor"
"spikeble/micropython/motor_pair" = "motor_pair"
"spikeble/micropython/orientation" = "orientation"
"spikeble/micropython/runloop" = "runloop"
[tool.hatch.build.targets.sdist]
include = ["/spikeble", "/README.md", "/LICENSE*", "/pyproject.toml"]
# ---- Tooling ---------------------------------------------------------------
[tool.ruff]
target-version = "py311"
line-length = 80
lint.select = ["E", "F", "I", "UP", "B", "C4", "SIM"]
[tool.pytest.ini_options]
addopts = "-ra -q"
testpaths = ["tests"]