From 8e80cec14a4834ae2012959d61e473a2b430c6c4 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 25 Nov 2016 16:33:01 +0100 Subject: bootstrap file and environment for pyinstaller --- quick_lineup.spec | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 quick_lineup.spec (limited to 'quick_lineup.spec') diff --git a/quick_lineup.spec b/quick_lineup.spec new file mode 100644 index 0000000..f96a842 --- /dev/null +++ b/quick_lineup.spec @@ -0,0 +1,28 @@ +# -*- mode: python -*- + +block_cipher = None + + +a = Analysis(['quick_lineup.py'], + pathex=['Z:\\teamy-quick-lineup'], + binaries=None, + datas=None, + hiddenimports=['html.parser','http.cookies'], + hookspath=[], + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher) +pyz = PYZ(a.pure, a.zipped_data, + cipher=block_cipher) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='quick_lineup', + debug=False, + strip=False, + upx=True, + console=True ) -- cgit v1.2.3 From f825baa2b0774b4bfe4749060a32df72b0db90fd Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 25 Nov 2016 21:10:47 +0100 Subject: All the necessary hidden imports. Fixes #4 --- quick_lineup.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'quick_lineup.spec') diff --git a/quick_lineup.spec b/quick_lineup.spec index f96a842..624a236 100644 --- a/quick_lineup.spec +++ b/quick_lineup.spec @@ -7,7 +7,12 @@ a = Analysis(['quick_lineup.py'], pathex=['Z:\\teamy-quick-lineup'], binaries=None, datas=None, - hiddenimports=['html.parser','http.cookies'], + hiddenimports=['html.parser','http.cookies', + 'django.template.defaulttags','django.template.loader_tags', + 'django.middleware.common', + 'ql.settings', + 'mysql.connector.django', 'mysql.connector.django.base', + 'mysql.connector.django.compiler'], hookspath=[], runtime_hooks=[], excludes=[], -- cgit v1.2.3 From 5d2b426fc97f3d9b3cb91019e512aa8cf4c4f468 Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 26 Nov 2016 00:41:42 +0100 Subject: Program icon --- quick_lineup.spec | 3 ++- res/ql.ico | Bin 0 -> 4286 bytes 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 res/ql.ico (limited to 'quick_lineup.spec') diff --git a/quick_lineup.spec b/quick_lineup.spec index 624a236..dc66d2e 100644 --- a/quick_lineup.spec +++ b/quick_lineup.spec @@ -30,4 +30,5 @@ exe = EXE(pyz, debug=False, strip=False, upx=True, - console=True ) + console=True, + icon='res\\ql.ico') diff --git a/res/ql.ico b/res/ql.ico new file mode 100644 index 0000000..f90e031 Binary files /dev/null and b/res/ql.ico differ -- cgit v1.2.3