From a6219db1c473f862a2dddbdef9593d8a57dfc9ae Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 19 Oct 2024 19:49:30 +0200 Subject: [PATCH] setup: Don't rely on git to set the version. --- setup.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/setup.py b/setup.py index 0fc4555a4..98e4bffac 100755 --- a/setup.py +++ b/setup.py @@ -48,20 +48,7 @@ except NameError: return s return s and s.decode('utf-8') or None -# Retrieve the project version from 'git describe' command and store it in the -# __version__.py and VERSION files, needed for correct installation of the -# Python package -try: - with open(os.devnull, 'w') as devnull: - GIT_RELEASE = subprocess.check_output( - ['git', 'describe'], stderr=devnull - ).strip().lstrip(b'v').decode('utf-8').split('-') - if len(GIT_RELEASE) > 1: - RELEASE = (GIT_RELEASE[0] + '.dev' + GIT_RELEASE[1] - + '+' + GIT_RELEASE[2]) - else: - RELEASE = GIT_RELEASE[0] -except subprocess.CalledProcessError: +if True: try: RELEASE = open('VERSION').read().strip() except Exception: -- 2.46.0 3b28cea697d0439127ffdea4aadfd5c2e0a'>treecommitdiff
path: root/.guix-authorizations
AgeCommit message (Expand)Author
2020-07-01.guix-authorizations: Remove keys of two former contributors....* .guix-authorizations: Remove key of David Craven, who left the project in 2017, and Federico Beffa, whose last commit was in Feb. 2017. Ludovic Courtès
2020-07-01.guix-authorizations: Remove former keys that are no longer used....* .guix-authorizations: Remove old keys of dvc, efraim, and janneke. Ludovic Courtès
2020-07-01.guix-authorizations: Remove brettgilio's old key....* .guix-authorizations: Remove key "DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE" (Brett Gilio). See <https://lists.gnu.org/archive/html/guix-devel/2020-06/msg00323.html>. Ludovic Courtès
2020-05-04.guix-authorizations: Add bricewge to the committers....* .guix-authorizations: Add fingerprint for bricewge. Ludovic Courtès
2020-05-04.guix-authorizations: Augment....* .guix-authorizations: Add all the currently authorized committers. Ludovic Courtès
2020-05-04Add '.guix-authorizations'....* .guix-authorizations: New file. Ludovic Courtès