diff --git a/.gitignore b/.gitignore index a00b8af..6d6b00c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,7 @@ MANIFEST # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest -*.spec +#*.spec # Installer logs pip-log.txt diff --git a/donatemail.spec b/donatemail.spec new file mode 100644 index 0000000..f4084f8 --- /dev/null +++ b/donatemail.spec @@ -0,0 +1,54 @@ +# -*- mode: python -*- + +block_cipher = None + + +a = Analysis(['donate_gui.py'], + pathex=[], + binaries=[], + datas=[], + hiddenimports=[], + hookspath=[], + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, + ) + +a.datas += [('images/email_gui.ico','./images/email_gui.ico', "DATA")] +a.datas += [('images/Gartoon_actions_ark_addfile_32.png','./images/Gartoon_actions_ark_addfile_32.png', "DATA")] +a.datas += [('images/Gartoon_actions_editcopy_32.png','./images/Gartoon_actions_editcopy_32.png', "DATA")] +a.datas += [('images/Gartoon_actions_exit_32.png','./images/Gartoon_actions_exit_32.png', "DATA")] +a.datas += [('images/Gartoon_actions_mail_get_32.png','./images/Gartoon_actions_mail_get_32.png', "DATA")] +a.datas += [('images/Gartoon_actions_mail_post_to_32.png','./images/Gartoon_actions_mail_post_to_32.png', "DATA")] +a.datas += [('images/Gartoon_actions_messagebox_info_32.png','./images/Gartoon_actions_messagebox_info_32.png', "DATA")] +a.datas += [('images/Gartoon_apps_mail_32.png','./images/Gartoon_apps_mail_32.png', "DATA")] +a.datas += [('images/Gartoon_apps_package_editors_32.png','./images/Gartoon_apps_package_editors_32.png', "DATA")] +a.datas += [('images/Gartoon_filesystems_folder_tar_32.png','./images/Gartoon_filesystems_folder_tar_32.png', "DATA")] +a.datas += [('images/Gartoon_apps_mail.svg.png','./images/Gartoon_apps_mail.svg.png', "DATA")] +a.datas += [('images/OOjs_UI_icon_info_big_warning.svg.png','./images/OOjs_UI_icon_info_big_warning.svg.png', "DATA")] +a.datas += [('images/OOjs_UI_icon_eye.svg.png','./images/OOjs_UI_icon_eye.svg.png', "DATA")] +a.datas += [('images/OOjs_UI_icon_eyeClosed.svg.png','./images/OOjs_UI_icon_eyeClosed.svg.png', "DATA")] + +a.datas += [('assets/about_fr.txt','./assets/about_fr.txt', "DATA")] +a.datas += [('assets/password_fr.txt','./assets/password_fr.txt', "DATA")] +a.datas += [('assets/servers.json','./assets/servers.json', "DATA")] + +pyz = PYZ(a.pure, a.zipped_data, + cipher=block_cipher) + +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='DONATEMAIL', + debug=False, + strip=False, + upx=True, + console=False, + icon=['./images/email_gui.ico'], + version='file_version_info.py', + ) \ No newline at end of file