Re: Building Pre-releases with setup.cfg
Jeremy Stanley <[email protected]> Tue, 9 Feb 2021 19:58:41 +0000
| Newsgroups | gmane.comp.python.distutils.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1151506317755006814== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yh2l7k2qdrm2py64" Content-Disposition: inline --yh2l7k2qdrm2py64 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 > https://setuptools.readthedocs.io/en/latest/userguide/distribution.html#t= agging-and-daily-build-or-snapshot-releases > 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). --=20 Jeremy Stanley --yh2l7k2qdrm2py64 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAmAi6WkACgkQSPmWEUNJ WCmZoA//fNEnIcOUbUxFNl8KZEYThoZTO70bSfPAR4FfGVH0M0O3CESaHh1C8bNj CS0xp+g/WyXLENhm3ms4vzlIqDswL13YeNx2blyIliCLDtXjAeAOulvFghm3HSOl OqjgwniyL6ndrLoqH835Taz7t+RtsqbPMqbE0BQgvp4sJ5Ok5LkGGKzbD9dK5uWm scVbq4TEyI47k1OsrFxUl7lIBet/h3Awv9EiNAbBNXiRuVCOzhu441I9omA8IsmM GK3KpTb2TXij7RrHM3wJpAlxieV3qKGY6VV/IJ9pj0Hplr8IxGXOMu1GTviaxAXw yNGYhNNcsQk+xcGS8AnKCxLglo48hXmBs3lH9T7ZJClGF3OHlR0dHCNIQAN5ELLb 3qp4TFXj6DESYdg8XZb7nevN3NwaRANQhYVc1KQpWTph8d1KcW+MFQTGrnG4PrVp NvIty4E+p1GMPRrXhuRMOhzMxd3Anx0mIsKsFoc3cfCWiApx7S41XCiymDnwf5GI 4MC2dC5SlQhCkASoL+NZs+XD48LOKgnUnVVQ7QaeB2OROxGNdyyGAgXO6bwS61uf 4trglNp4pvwEXboI4kTXDEtN3wscF3H+qeBiQjgh+TW/EubrU2T+U9+fXIU1x0Oz PZt7PVLl9hqScKB+omR9sEbztkyFiyUJzS4rC9bLmSTshH3hBug= =VK9V -----END PGP SIGNATURE----- --yh2l7k2qdrm2py64-- --===============1151506317755006814== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- Distutils-SIG mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/PUASLWVRUZOC37VOKKP2AZFYGHFNQDY2/ --===============1151506317755006814==--