Add main.py and a flat-layout hatchling build with a console script (autohover = mission_client:main), replacing tool.uv package=false, so the app runs via 'uv run main.py' and installs via uvx / uv tool install -- matching the sibling Crazyflie projects. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
25 lines
748 B
TOML
25 lines
748 B
TOML
[project]
|
|
name = "autohover"
|
|
version = "0.1.0"
|
|
description = "DearPyGui mission client that flies a Crazyflie + Flow v2 deck to a hover"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
# Crazyflie radio link, logging, commander, supervisor arming API.
|
|
# 0.1.25 is the first release with cf.supervisor.send_arming_request().
|
|
"cflib>=0.1.25",
|
|
# Immediate-mode GUI (same binding as the test-stand app).
|
|
"dearpygui>=2.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
autohover = "mission_client:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
# Flat-layout app: ship the two top-level modules as the package contents.
|
|
only-include = ["mission_client.py", "controller.py"]
|