Files
SaveWizard/setup.py
JDM170 6094f785a5 Update
* Update README.md

* UI improvements:
** Removed unnessecary checkboxes on main window
** Removed "Analyze" button for cities, dealers and agencies; Now the are analyzing on second window startup
** And other small fixes

* Code improvements:
** Typo fixes
** Added "dataIO.py" for interaction with configs (taken from "cog-creators/Red-DiscordBot" repo)
** Added dealers and agencies configs for both games (ATS, ETS2)
** Added "textEdited" signal for all edits on main window

Signed-off-by: JDM170 <30170278+JDM170@users.noreply.github.com>
2020-07-11 16:00:52 +07:00

31 lines
1.1 KiB
Python

#!/usr/bin/python3
# -*- coding: utf-8 -*-
from cx_Freeze import setup, Executable
executables = [Executable('__init__.py', targetName='SaveWizard.exe', base='Win32GUI')]
excludes = ['email', 'html', 'http', 'logging', 'pydoc_data', 'unittest', 'urllib', 'xml', 'tempfile', 'select', 'pwd',
'datetime', 'shlex', 'shutil', 'socket', 'platform', 'webbrowser', 'pydoc', 'selectors', 'tty', 'inspect',
'doctest', 'plistlib', 'calendar', 'subprocess', 'copy', 'bz2', 'stringprep', 'posixpath', '_strptime',
'dummy_threading']
zip_include_packages = ['collections', 'encodings', 'importlib', 'json', 'hashlib', 'PyQt5', 'sip', 'main', 'second']
include_files = ['SII_Decrypt.exe', 'dlc.json', 'dealers.json', 'agencies.json']
options = {
'build_exe': {
'excludes': excludes,
'include_msvcr': True,
'build_exe': 'stable_build',
'include_files': include_files,
'zip_include_packages': zip_include_packages,
}
}
setup(
name='SaveWizard',
version='1.1',
description='For editing ETS2 sii files',
executables=executables,
options=options,
requires=['PyQt5']
)