Files
daedalus/pyproject.toml
T
nvaldez bd1a10487c feat: PyPI distribution renamed daedalus-tools; PEP 625 artifact names (v0.13.0)
PyPI policy-blocks the plain name: the 0.12.1 upload was rejected
with "The name 'daedalus' isn't allowed" (near the existing
daedalus-cli and pydaedalus projects). The distribution is now
daedalus-tools; command, imports, registry, and the repository
name stay daedalus. hello's installed-version lookup follows.
publish now derives artifact file names from the PEP 625
normalized name (daedalus_tools-<version>.tar.gz) - with a
hyphenated project name the previously constructed names would
have missed what setuptools writes to dist/ (publish spec 3.2,
new regression test).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-19 10:58:33 +01:00

57 lines
1.6 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "daedalus-tools"
version = "0.13.0"
description = "Template for daedalus: loose scripts in one repo, run with: daedalus <name> [args...]"
readme = "README.md"
requires-python = ">=3.11"
dependencies = ["argcomplete>=3.3"]
[project.scripts]
daedalus = "daedalus.cli:main"
# The script folders are installed under daedalus/_library/ with their
# repository-relative paths, so registry paths resolve the same way (SPEC.md 9).
[tool.setuptools]
packages = [
"daedalus",
"daedalus.daedalus_logging",
"daedalus.gpgtools",
"daedalus.hello",
"daedalus.init",
"daedalus.publish",
"daedalus._library.python.src",
"daedalus._library.bash",
"daedalus._library.powershell",
"daedalus._library.batch",
]
[tool.setuptools.package-dir]
"daedalus.gpgtools" = "python/src/gpgtools"
"daedalus.hello" = "python/src/hello"
"daedalus.init" = "python/src/init"
"daedalus.publish" = "python/src/publish"
"daedalus._library.python.src" = "python/src"
"daedalus._library.bash" = "bash"
"daedalus._library.powershell" = "powershell"
"daedalus._library.batch" = "batch"
[tool.setuptools.package-data]
"daedalus._library.python.src" = ["**/*"]
"daedalus._library.bash" = ["*.sh"]
"daedalus._library.powershell" = ["*.ps1"]
"daedalus._library.batch" = ["*.bat"]
[tool.setuptools.exclude-package-data]
"*" = ["*.pyc", "__pycache__/*", "**/__pycache__/*", ".gitkeep"]
[tool.pytest.ini_options]
testpaths = ["ci/tests", "daedalus/tests", "python/tests", "bash/tests"]
pythonpath = ["."]
[tool.coverage.run]
omit = ["*/tests/*", "*/__main__.py"]