[meld: 4/8] freeze: Exclude unneeded tkinter from freezed installation.



commit 7cccd91133bb4abe4b66de77a5c3f3fb69fcfc81
Author: Vasily Galkin <galkin-vv ya ru>
Date:   Fri Jun 22 22:20:29 2018 +0300

    freeze: Exclude unneeded tkinter from freezed installation.
    
    Tkinter is only used for showing message about gtk absence,
    which shouldn't be problem for freezed installation/archive.
    
    But it presence gives extra ~1000 small files which
    slows down installation a bit.
    (other files in meld 3.18 installation are ~2000 small icons,
    and ~300 other files of different size)

 setup_win32.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/setup_win32.py b/setup_win32.py
index 4636d2bd..04323dec 100644
--- a/setup_win32.py
+++ b/setup_win32.py
@@ -66,9 +66,9 @@ include_files = [(os.path.join(include_dll_path, path), path) for path in
 
 build_exe_options = {
     "includes": ["gi"],
+    "excludes": ["tkinter"],
     "packages": ["gi", "weakref"],
     "include_files": include_files,
-    "bin_path_excludes": [""],
     "zip_exclude_packages": [],
     "zip_include_packages": ["*"],
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]