diff --git a/setup.py b/setup.py index 3836fb41ee7..a6bfae37118 100755 --- a/setup.py +++ b/setup.py @@ -1648,7 +1648,7 @@ def create_macos_app_icon(where: str = 'Resources') -> None: icns_dir = os.path.join(where, f'{appname}.icns') try: subprocess.check_call([ - 'iconutil', '-c', 'icns', iconset_dir, '-o', icns_dir + '/usr/bin/iconutil', '-c', 'icns', iconset_dir, '-o', icns_dir ]) except FileNotFoundError: print(f'{error("iconutil not found")}, using png2icns (without retina support) to convert the logo', file=sys.stderr)