I wanted to construct a filename containing the version info from poetry:
allowlist_externals = poetry
setenv =
PKGVER=`poetry version -s`
commands =
python -m zipfile -c dist/myname-{env:PKGVER}.doc.zip {toxinidir}/docs/_build/html/*
This resulted in a filename "myname-0.1.0 .doc.zip".
Would you be open to remove whitespace/newlines from the output of the backticks-command?
I wanted to construct a filename containing the version info from poetry:
This resulted in a filename "myname-0.1.0 .doc.zip".
Would you be open to remove whitespace/newlines from the output of the backticks-command?