mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Added tkinter to cx_freeze explicit excludes because v4.2.3 started to falsely include it.
This commit is contained in:
parent
39fc7a91d7
commit
54720b15ca
@ -36,7 +36,8 @@ def package_windows(edition, dev):
|
||||
if op.exists(distdir):
|
||||
shutil.rmtree(distdir)
|
||||
|
||||
cmd = 'cxfreeze --base-name Win32GUI --target-dir "{0}" --target-name "{1}.exe" --icon {2} run.py'
|
||||
# Since v4.2.3, cx_freeze started to falsely include tkinter in the package. We exclude it explicitly because of that.
|
||||
cmd = 'cxfreeze --base-name Win32GUI --target-dir "{0}" --target-name "{1}.exe" --icon {2} --exclude-modules tkinter run.py'
|
||||
target_name = {'se': 'dupeGuru', 'me': 'dupeGuru ME', 'pe': 'dupeGuru PE'}[edition]
|
||||
icon_path = 'images\\dg{0}_logo.ico'.format(edition)
|
||||
print_and_do(cmd.format(distdir, target_name, icon_path))
|
||||
|
Loading…
x
Reference in New Issue
Block a user