0
cx_Freeze 'disutils.core.setup()'引数を通してgccにコマンドを渡すには?あなたはする必要がgccにcx_Freezeを通してコマンドを渡す方法
setup(
name="test",
packages=['test'],
package_data={'': ['*.py', '*.txt', '*.sample', '*.mo', 'README.rst']},
options={"build_exe": {
"icon": r"test\resources\test.ico",
"compressed": True,
"create_shared_zip": True,
"copy_dependent_files": True,
"include_files": [
('test/i18n/', 'i18n/'),
('test/resources/', 'resources/'),
('test/client.conf.sample', 'client.conf.sample'),
],
"excludes": [
'urllib.sys',
'urllib._sre',
'urllib.array',
'urllib._locale',
'urllib.datetime',
'urllib._functools',
]
}
},
executables=Executable(script=script),)
ありがとうございました。開いているプロジェクトを作成する人が他の人にサポートを提供するときにとてもうれしいです。すぐに試してみてください。 – nikolaevra