the.bay.news

How to determine the version of a package (dynamically) via SCM

Discussions on Python.org
How to determine the version of a package (dynamically) via SCM
Hey. I’m having a bit of a hard time finding a proper solution for the following: I’m writing a package, which needs to find out its own version, which I don’t want to have hard-coded (at least not manually, what would be okay is, if setuptools_scm writes the version to a file, bu only for builds - i.e. I don’t want it hardcoded within my git history). setuptools and setuptools_scm are used for building and the whole thing is in git. Oh and, while setuptools_scm is a build dependency, I woul...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.