DiamondLightSource / python-copier-template

Diamond's opinionated copier template for pure Python projects managed by pip
Apache License 2.0
5 stars 3 forks source link

no `_commit` variable and incorrect `_src_path` #118

Closed M-Chan closed 9 months ago

M-Chan commented 9 months ago

The template is taking the source to be the repo path as absolute copying the contents into a temporary directory. The plugin is then running copier with the local temp directory as its source giving an incorrect _src_path and not _commit (as it doesn't see the github repo. This will affect updating the project as it doesn't know the real source