From fea17342bebe642292107c042fbc6226c29a6e72 Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Wed, 26 Jan 2022 20:23:37 -0800 Subject: [PATCH] setup-cxfreeze: use fixed version of 2.0 A version like "2.0a6" was causing issues with newer versions of cx-Freeze due to how it parses the version. --- setup-cxfreeze.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/setup-cxfreeze.py b/setup-cxfreeze.py index 2e64ece..2804bc2 100644 --- a/setup-cxfreeze.py +++ b/setup-cxfreeze.py @@ -38,15 +38,9 @@ if sys.platform == 'win32': executables.append(Executable('ninfs/winpathmodify.py', target_name='winpathmodify')) -# based on https://github.com/Legrandin/pycryptodome/blob/b3a394d0837ff92919d35d01de9952b8809e802d/setup.py -with open('ninfs/__init__.py', 'r', encoding='utf-8') as f: - for line in f: - if line.startswith('__version__'): - version = eval(line.split('=')[1]) - setup( name='ninfs', - version=version, + version='2.0', description='FUSE filesystem Python scripts for Nintendo console files', options={'build_exe': build_exe_options}, executables=executables