Fix: try to get setuptools scm to work with src#9
Fix: try to get setuptools scm to work with src#9lwasser wants to merge 3 commits intopyOpenSci:mainfrom
Conversation
| # How do i specify the root correctly to help setuptools find the version? | ||
| # LookupError: setuptools-scm was unable to detect version for | ||
| # This is optional if you wish to use scm for versioning | ||
| [tool.setuptools_scm] |
There was a problem hiding this comment.
hey there @RonnyPfannschmidt ! i was wondering if you could help be debug this by chance? I'm trying to get setuptools_scm to find the version. i know this is a complex repo as we're using it as examples for the community. but i'm not sure how or where setuptools scm looks for version information if it's not just looking at git tags. many thanks for any direction. (and please say the word if you'd like me to submit an issue somewhere / it's is not appropriate to ask here)
There was a problem hiding this comment.
Sorry for the delay, I'm preoccupied
The root option is needed when under use in a subdirectory, as otherwise a number of upstream packaging schemes break things
The root option sets the scm root relative to the pyproject.toml file
No description provided.