mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 06:06:06 -04:00
modified setup for compiling the new generation
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
from setuptools import setup, find_packages
|
||||
import py2exe
|
||||
import os
|
||||
import gettext, gettext_windows; gettext_windows.setup_env_windows()
|
||||
import gettext
|
||||
import application
|
||||
import platform
|
||||
from glob import glob
|
||||
@@ -43,7 +43,7 @@ def get_data():
|
||||
import sound_lib
|
||||
import enchant
|
||||
return [
|
||||
("", ["conf.defaults", "sessions.defaults", "icon.ico"]),
|
||||
("", ["conf.defaults", "app-configuration.defaults", "icon.ico"]),
|
||||
("dropbox", ["trusted-certs.crt"]),
|
||||
("requests", ["cacert.pem"]),
|
||||
("accessible_output2/lib", glob("accessible_output2/lib/*.dll")),
|
||||
@@ -85,11 +85,12 @@ if __name__ == '__main__':
|
||||
author_email = application.authorEmail,
|
||||
version = application.version,
|
||||
url = application.url,
|
||||
packages=find_packages(),
|
||||
packages= find_packages(),
|
||||
data_files = get_data(),
|
||||
options = {
|
||||
'py2exe': {
|
||||
'optimize':2,
|
||||
'packages': ["pubsub", "pubsub.core", "pubsub.core.kwargs"],
|
||||
'dll_excludes': ["MPR.dll", "api-ms-win-core-apiquery-l1-1-0.dll", "api-ms-win-core-console-l1-1-0.dll", "api-ms-win-core-delayload-l1-1-1.dll", "api-ms-win-core-errorhandling-l1-1-1.dll", "api-ms-win-core-file-l1-2-0.dll", "api-ms-win-core-handle-l1-1-0.dll", "api-ms-win-core-heap-obsolete-l1-1-0.dll", "api-ms-win-core-libraryloader-l1-1-1.dll", "api-ms-win-core-localization-l1-2-0.dll", "api-ms-win-core-processenvironment-l1-2-0.dll", "api-ms-win-core-processthreads-l1-1-1.dll", "api-ms-win-core-profile-l1-1-0.dll", "api-ms-win-core-registry-l1-1-0.dll", "api-ms-win-core-synch-l1-2-0.dll", "api-ms-win-core-sysinfo-l1-2-0.dll", "api-ms-win-security-base-l1-2-0.dll", "api-ms-win-core-heap-l1-2-0.dll", "api-ms-win-core-interlocked-l1-2-0.dll", "api-ms-win-core-localization-obsolete-l1-1-0.dll", "api-ms-win-core-string-l1-1-0.dll", "api-ms-win-core-string-obsolete-l1-1-0.dll", "WLDAP32.dll", "MSVCP90.dll"],
|
||||
'skip_archive': True
|
||||
},
|
||||
|
Reference in New Issue
Block a user