diff --git a/setup.py b/setup.py index f1830a3..3082e4d 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ import zipfile GECKO_RELEASE_PATH = "https://github.com/mozilla/geckodriver" PKG_NAME = "bot_z" -VERSION = "0.2.0" +VERSION = "0.2.1" AUTHOR = "blallo" AUTHOR_EMAIL = "blallo@autistici.org" BIN_PATH = "bin/geckodriver" @@ -115,6 +115,7 @@ PLATFORM_MAP = { "linux64": "linux64", "darwin64": "macos", "darwin32": "macos", # This is impossible (?) + "macos": "macos" } @@ -134,7 +135,7 @@ def assemble_driver_uri( platform = "{}64".format(s_platform) else: platform = "{}64".format(s_platform) - if "win" in PLATFORM_MAP[platform]: + if "win" in platform: ext = "zip" else: ext = "tar.gz"