beeware / briefcase

Tools to support converting a Python project into a standalone native application.
https://briefcase.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.5k stars 354 forks source link

Support cookiecutter v2.6.0 #1724

Closed rmartin16 closed 3 months ago

rmartin16 commented 3 months ago

Changes

Notes

BRIEFCASE_TEMPLATE_REPO: https://github.com/rmartin16/briefcase-template BRIEFCASE_TEMPLATE_REF: template-whitespace

PR Checklist:

rmartin16 commented 3 months ago

Templating a document where whitespace matters should be forbidden in international law.

That said, I've taken a more literal approach with the templating: basically, if you put whitespace in a value to be inserted in to the template, then that whitespace shows up in the template and attempts to "helpfully" collapse any of it have been removed. (The one exception 🙄 is the final template variable in the document....it will try to remove some extra whitespace at the end of the doc.)