Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ def get_ec_name_by_system():

# The core, from `2.7.0`, introduces the extension in the tarball name
# (e.g. `ec-windows-386.exe.tar.gz`, `ec-windows-arm.exe.tar.gz`)
Comment thread
mmicu marked this conversation as resolved.
_ext = '.exe' if _system == 'Windows' else ''
# In `3.1.0` the windows extension was then again dropped from the
# archive name.

return 'ec-{}-{}{}'.format(
return 'ec-{}-{}'.format(
_system.lower(),
_architecture,
_ext,
)

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