Repository navigation
docxplus v1.0.1
Fixes an installation defect in v1.0.0.
pip install docxplus reported success on v1.0.0 and left nothing importable. The
modules lived in src/ as flat top-level files that no wheel shipped,
[tool.uv] package = false kept them out of any build, and the console script
crashed importing a module that was never packaged. The tests never caught it
because they ran from a checkout with src/ on the path, which is the single
configuration in which the old layout worked.
Changed
- Modules moved under a real
docxpluspackage and import each other relatively,
sofrom docxplus.container import DocxPlusBuilderworks installed or from a
checkout. Flat imports (import crypto) becomefrom docxplus import crypto. - The CLI is now
docxplus.cli: run it withpython -m docxplus.clior the
docxplusconsole script. project_root()locates the checkout instead of counting parent directories,
which is what broke when the modules gained a level.- Coverage follows the CLI into the subprocesses that exercise it. Measured in the
parent alone, the most end-to-end-tested module in the repository read 0%.
Verified by installing into a clean virtualenv outside the checkout and exercising
the library, the console script, and its subcommands.
609 tests, 91.89% coverage against a 90% gate, ./run.sh all green.
Archived: 10.5281/zenodo.21985580 ·
concept DOI 10.5281/zenodo.21983948
always resolves to the latest version.