Files
receipt_maker/pyproject.toml
T
adamfandClaude Fable 5 71686e8ad4
CI / test (push) Failing after 6m11s
Add tests, TUI, packaging, and CI
- receipt_tui.py: Textual terminal UI (tui subcommand), optional [tui] extra
- tests/: pytest suite for CLI and TUI using fakes; no hardware needed
- pyproject.toml: packaging with dev/tui extras, ruff config
- GitHub Actions CI running ruff and pytest
- Rename connect_recipt.sh -> connect_receipt.sh
- CLAUDE.md project instructions; README updates

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-11 19:53:18 +01:00

41 lines
743 B
TOML

[project]
name = "receipt-maker"
version = "1.0.0"
description = "Print images and text notes to an Epson TM-T20II thermal receipt printer"
requires-python = ">=3.10"
dependencies = [
"python-escpos>=3.0",
"Pillow>=10.0",
"requests>=2.31",
]
[project.optional-dependencies]
tui = [
"textual>=1.0",
]
dev = [
"pytest>=8.0",
"ruff>=0.4",
"textual>=1.0",
]
[project.scripts]
receipt = "receipt:main"
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = ["receipt", "receipt_tui"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
[tool.pytest.ini_options]
testpaths = ["tests"]