From: Jeremy Stanley <firstname.lastname@example.org>
Date: Tue, Feb 9, 2021 at 3:26 PM
Subject: [Distutils] Re: Building Pre-releases with setup.cfg
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 have
> been unable to get this to work or find any documentation on it. Ideally I
> 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).
Distutils-SIG mailing list -- email@example.com
To unsubscribe send an email to firstname.lastname@example.org
Message archived at https://email@example.com/message/PUASLWVRUZOC37VOKKP2AZFYGHFNQDY2/