Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jun 28, 2024
1 parent 8a2d806 commit e3c0c93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ def get_xcode_major_version():
version_line = output.split('\n')[0]
version = version_line.split(' ')[-1]
return int(version.split('.')[0])
except:
except BaseException:
return 0


def run_cmd(args):
print('>', subprocess.list2cmdline(args))
subprocess.check_call(args)
Expand Down Expand Up @@ -72,6 +73,7 @@ def determine_cross_compile_args():
return ['-DCMAKE_C_FLAGS=-m32']
return []


def determine_generator_args():
if sys.platform == 'win32':
try:
Expand Down

0 comments on commit e3c0c93

Please sign in to comment.