From 0c1fd4c86ee651cb204a167c32bcbab91c9fde78 Mon Sep 17 00:00:00 2001 From: "Davide Gessa (dakk)" Date: Wed, 21 Aug 2024 11:37:17 +0200 Subject: [PATCH] fix setup.py encoding issues --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b760a37..08b36e2 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ buildOptions = {"build_exe": {"packages": ["gi"], "include_files": []}} executables = [Executable("main.py")] # icon="evm_bg_KYa_icon.ico") -GDAL_VERSION = subprocess.check_output(['gdal-config', '--version']).strip() +GDAL_VERSION = subprocess.check_output(['gdal-config', '--version']).decode('ascii').strip() requirements = open("requirements.txt", "r").read().split("\n")[:-1] requirements.append(f'GDAL=={GDAL_VERSION}')