From 85fc0a59b1b8c36ab19ee8bd6db86af819ee9cc3 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Fri, 20 Mar 2020 23:49:57 +0100 Subject: [PATCH] Rename variable logo_dir -> iconset_dir --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index a4d364b9f..b405c696d 100755 --- a/setup.py +++ b/setup.py @@ -858,10 +858,10 @@ def macos_info_plist() -> bytes: def create_macos_app_icon(where: str = 'Resources') -> None: - logo_dir = os.path.abspath(os.path.join('logo', appname + '.iconset')) + iconset_dir = os.path.abspath(os.path.join('logo', appname + '.iconset')) subprocess.check_call([ - 'iconutil', '-c', 'icns', logo_dir, '-o', - os.path.join(where, os.path.basename(logo_dir).partition('.')[0] + '.icns') + 'iconutil', '-c', 'icns', iconset_dir, '-o', + os.path.join(where, os.path.basename(iconset_dir).partition('.')[0] + '.icns') ])