From 56935efbb00a59b97ab86c214f83899cd12d7677 Mon Sep 17 00:00:00 2001 From: SONIABHISHEK121 Date: Sat, 3 Aug 2024 16:35:36 +0530 Subject: [PATCH] fixed version string manipulation Signed-off-by: SONIABHISHEK121 --- requirements-dev.txt | 1 - setup_win.py | 5 ----- 2 files changed, 6 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 8ca42cd32..44f1a2e10 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -11,4 +11,3 @@ pytest-freezegun==0.4.2; python_version > '3' pytest-mock==2.0.0; python_version <= '2.7' pytest-mock==3.10.0; python_version > '2.7' pywin32==304; sys_platform == "win32" and python_version > '3' -py2exe==0.11.1.1; sys_platform == "win32" and python_version > '3' \ No newline at end of file diff --git a/setup_win.py b/setup_win.py index c683e1636..a5e866993 100644 --- a/setup_win.py +++ b/setup_win.py @@ -19,11 +19,6 @@ import warnings import sys -try: - rev = subprocess.check_output(['git', 'rev-list', '--count', '--all'], - stderr=subprocess.PIPE).strip().decode("ascii") -except: - rev = 0 __version__ = "3.10.3028"