Some checks failed
Mark stable commit / test-unit (push) Has been cancelled
Mark stable commit / test-integration (push) Has been cancelled
Mark stable commit / test-env-virtual (push) Has been cancelled
Mark stable commit / test-env-nix (push) Has been cancelled
Mark stable commit / test-e2e (push) Has been cancelled
Mark stable commit / test-virgin-user (push) Has been cancelled
Mark stable commit / test-virgin-root (push) Has been cancelled
Mark stable commit / lint-shell (push) Has been cancelled
Mark stable commit / lint-python (push) Has been cancelled
Mark stable commit / mark-stable (push) Has been cancelled
- Restrict setuptools package discovery to src/ (pkgmgr* only) - Drop config/ as a Python package mapping (keep config as plain data dir) - Remove config_defaults fallback paths and use config/ exclusively - Add unit + integration tests for defaults.yaml loading and CLI update copying https://chatgpt.com/share/6947e74f-573c-800f-b93d-5ed341fcd1a3
54 lines
1.1 KiB
TOML
54 lines
1.1 KiB
TOML
[build-system]
|
|
requires = [
|
|
"setuptools>=68",
|
|
"wheel"
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "kpmx"
|
|
version = "1.9.0"
|
|
description = "Kevin's package-manager tool (pkgmgr)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = { text = "MIT" }
|
|
|
|
authors = [
|
|
{ name = "Kevin Veen-Birkenbach", email = "info@veen.world" }
|
|
]
|
|
|
|
# Base runtime dependencies
|
|
dependencies = [
|
|
"PyYAML>=6.0",
|
|
"tomli; python_version < \"3.11\"",
|
|
"jinja2>=3.1"
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://s.veen.world/pkgmgr"
|
|
Source = "https://github.com/kevinveenbirkenbach/package-manager"
|
|
|
|
[project.optional-dependencies]
|
|
keyring = ["keyring>=24.0.0"]
|
|
dev = [
|
|
"mypy"
|
|
]
|
|
|
|
# CLI entrypoint: this is the "pkgmgr" command
|
|
[project.scripts]
|
|
pkgmgr = "pkgmgr.cli:main"
|
|
|
|
# -----------------------------
|
|
# setuptools configuration
|
|
# -----------------------------
|
|
# Source layout: all packages live under "src/"
|
|
[tool.setuptools]
|
|
package-dir = { "" = "src" }
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
include = ["pkgmgr*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"config" = ["defaults.yaml"]
|