Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Timo =?utf-8?Q?R=C3=B6hling?= Newsgroups: linux.debian.maint.python Subject: Versioneer [was Re: a review of your bumblebee-status package] Date: Tue, 07 Jun 2022 16:30:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Jun 7 14:22:40 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-110.521 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIMWL_WL_HIGH=-0.801, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GMAIL=1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -3.5 X-Greylist: delayed 559 seconds by postgrey-1.36 at bendel; Tue, 07 Jun 2022 14:22:27 UTC Mail-Followup-To: debian-python@lists.debian.org Organization: The Debian Project MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nnr3audlepw4qyps" Content-Disposition: inline X-Mailing-List: archive/latest/19979 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20220607141242.m3y2ebbnymllp4hm@mail.gaussglocke.de Approved: robomod@news.nic.it Lines: 79 Sender: robomod@news.nic.it X-Original-Date: Tue, 7 Jun 2022 16:12:42 +0200 X-Original-Message-ID: <20220607141242.m3y2ebbnymllp4hm@mail.gaussglocke.de> X-Original-References: <87sfohoni3.fsf@curie.anarc.at> <0f84e96b-c0eb-2d0e-fc7e-a8b272549aea@gmail.com> <87fskhb44h.fsf@angela.anarc.at> <367c1fcc-e57e-bde4-61eb-787042586a60@gmail.com> Xref: csiph.com linux.debian.maint.python:14151 --nnr3audlepw4qyps Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi everyone, * Ben Westover [2022-06-06 22:42]: >As far as I understand it, this file is used by the author of the=20 >program, not end users. I don't understand it well, though, because I=20 >haven't put much time into researching what versioneer even does. Versioneer is meant to simplify version tracking for the developer; it supports a number of authoritative sources such as "git describe" to determine the current version number. There are two modes of operation: - in developer mode, versioneer detects the version number dynamically. This is what you'll see if you use the (Git) repository sources. - in install mode, the release version number is statically embedded. This is what you'll see if you download from PyPI. Internally, these modes are realized by two different _version.py files; the developer version is usually added to version control, and the setuptools "build" and "sdist" steps are intercepted to insert the static _version.py as needed. In my experience, it Just Works with pybuild, so I wouldn't bother with any special treatment; the versioneer.py source is public domain, so you're not going to run into any licensing issues. Cheers Timo --=20 =E2=A2=80=E2=A3=B4=E2=A0=BE=E2=A0=BB=E2=A2=B6=E2=A3=A6=E2=A0=80 =E2=95=AD= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=95=AE =E2=A3=BE=E2=A0=81=E2=A2=A0=E2=A0=92=E2=A0=80=E2=A3=BF=E2=A1=81 =E2=94=82= Timo R=C3=B6hling =E2=94=82 =E2=A2=BF=E2=A1=84=E2=A0=98=E2=A0=B7=E2=A0=9A=E2=A0=8B=E2=A0=80 =E2=94=82= 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA =E2=94=82 =E2=A0=88=E2=A0=B3=E2=A3=84=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80 =E2=95=B0= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=95=AF --nnr3audlepw4qyps Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmKfXNYACgkQ+C8H+466 LVngSQwAjR7vb7EZGMZBS4/xvVuPZWIiFjVJTvRnmSto3Go6gTTQ7ulNgg9TtTlB rzHFKGbThJMC2c5dY61eSMA8BOoM9Z5PJVGTcAA/DxlgQEZz9fUw91E8xU4mEw1E eTntUUNmfj8OrNMGxJsHUe1Ovhs8q8wVx4uKyd/Ky/xFNDAYRtVjWWmbcxgm4qBs TxSokeibHe37FkdktGv75JgaBKRXsy56Xe9ZIAOJ6fQGgeXTQ55gkD3kEJvIJJie 1pGcJWjG+TawRUfONMDyBZFIASKbiGeEUFt6KhpEoB+a3OHoIR9iTIA9X/P+zPeb OLAz8uyJ1fZPh1z9cgKinyZPRAOUkqtFmyufC5j19ojoNwErwQUZSVA7Nf+E8fGX EeVpmK4ZgdEPR7JYO7Qu3WkaOLR8jKk1wJonx03oorR5lqdJIPOEOzOJmYKyeNy3 3raZxwvJqi0R7e0Avc8/qj18SY5cOQGd0rLjpP3v0zP5540/4mpNCfad5VuutQcn RJ/9jUwP =kUN0 -----END PGP SIGNATURE----- --nnr3audlepw4qyps--