From 00b3e991f805debfcade69202475f7c6f121475e Mon Sep 17 00:00:00 2001 From: Laurens Verhoeven Date: Thu, 8 Sep 2022 10:32:07 +0200 Subject: [PATCH] Update version to 2.6.0 --- setup.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 678f091..646d203 100644 --- a/setup.py +++ b/setup.py @@ -31,8 +31,8 @@ from urllib2 import urlopen -WRAPPER_VERSION = '2.4.0' -EDITORCONFIG_CHECKER_CORE_VERSION = '2.4.0' +WRAPPER_VERSION = '2.6.0' +EDITORCONFIG_CHECKER_CORE_VERSION = '2.6.0' EDITORCONFIG_CHECKER_EXE_NAME = 'ec' @@ -55,10 +55,9 @@ def get_ec_name_by_system(): else: raise ValueError('Cannot determine architecture') - return 'ec-{}-{}{}'.format( + return 'ec-{}-{}'.format( _system.lower(), _architecture, - '.exe' if _system == 'Windows' else '' ) return 'https://github.com/editorconfig-checker/editorconfig-checker/releases/download/{}/{}.tar.gz'.format( @@ -94,8 +93,6 @@ def extract_tarball(url, data): def save_executables(data, base_dir): exe = EDITORCONFIG_CHECKER_EXE_NAME - if system() == 'Windows': - exe += '.exe' output_path = path.join(base_dir, exe) makedirs(base_dir)