Skip to content

Commit 96fd034

Browse files
authored
fix: since v3 we no longer have the extension in the archive name
1 parent 8a118c5 commit 96fd034

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

setup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,9 @@ def get_ec_name_by_system():
5656
else:
5757
raise ValueError('Cannot determine architecture')
5858

59-
# The core, from `2.7.0`, introduces the extension in the tarball name
60-
# (e.g. `ec-windows-386.exe.tar.gz`, `ec-windows-arm.exe.tar.gz`)
61-
_ext = '.exe' if _system == 'Windows' else ''
62-
63-
return 'ec-{}-{}{}'.format(
59+
return 'ec-{}-{}'.format(
6460
_system.lower(),
6561
_architecture,
66-
_ext,
6762
)
6863

6964
return 'https://github.com/editorconfig-checker/editorconfig-checker/releases/download/{}/{}.tar.gz'.format(

0 commit comments

Comments
 (0)