Thanks Jeremy, I will check those out. I thought that maybe there was a simple flag I could pass in to python -m build that would allow me to override a value in setup.cfg, but I should probably read through PEP517/PEP518 in full to get a better overview of this process.
On 2021-02-09 09:48:31 -0500 (-0500), Matthew Gilbert wrote:
I'm wondering if it is possibly to build pre-release tags using only a setup.cfg file? From
it seems like this is possible via setup.py, but I was unable to find anything related to setup.cfg.
Possibly this can be configured using the --config-setting flag but I
been unable to get this to work or find any documentation on it. Ideally
would be able to pass a string so I can build a dev version for testing uploads to Test PyPI, e.g. "0.0.1devHASH"
I'm probably misunderstanding your question, but typically I've seen something like PBR or Setuptools-SCM used to automatically calculate the version at dist build time (including inferring something based on the number of commits on the branch since the last tag, embedding abbreviated Git commit IDs, or whatever). -- Jeremy Stanley -- Distutils-SIG mailing list -- email@example.com To unsubscribe send an email to firstname.lastname@example.org https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://email@example.com/message/PUASL...