Files
i7lib/pyproject.toml
T
Iñigo Etxaniz bb73c9901c Add packaging metadata so python -m build works
#110 recorded pyproject.toml + __init__.py as verified on a real toolchain
but they were never committed; origin has nothing past d5203ce.

pyproject.toml is deliberately plain: the sidecar's pypi.ReadProjectMetadata
is a line scanner, not a TOML parser, and reads name and version as literal
single-line assignments under [project]. A dynamic version would break both
the publish check and the startup reconcile.

__init__.py re-exports the public API so src/i7lib is an importable package.
.gitignore keeps dist/ out of the tree — a committed wheel would travel in
gitea's source archive and trip the builder's one-wheel-in-dist check.
2026-08-04 09:27:03 +02:00

18 lines
363 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "i7lib"
version = "0.1.0"
description = "i7 library for scripts"
readme = "README.md"
requires-python = ">=3.8"
dependencies = ["requests>=2.31"]
[project.optional-dependencies]
dotenv = ["python-dotenv>=1.0"]
[tool.setuptools.packages.find]
where = ["src"]