- apt dependencies (RPI.GPIO somehow needs to be installed from apt to work & re-establish uv venv with --system-site-packages - GPIO 20 triggers mode switching (can link to a photodiode or just switch)
27 lines
574 B
TOML
27 lines
574 B
TOML
[project]
|
|
name = "smartserow-backend"
|
|
version = "0.1.0"
|
|
description = "GPS and Arduino telemetry service for Smart Serow"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"flask>=3.0",
|
|
"flask-socketio>=5.3.0",
|
|
"gevent>=24.0",
|
|
"gevent-websocket>=0.10",
|
|
"gpsdclient>=1.3",
|
|
"pyserial>=3.5",
|
|
# GPIO: install via apt (sudo apt install python3-rpi.gpio)
|
|
# Not listed here because pip versions require compilation
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff",
|
|
]
|
|
|
|
[project.scripts]
|
|
smartserow-backend = "main:main"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|