From e6f01cc8347d85baaec42947b435b53c10cbb935 Mon Sep 17 00:00:00 2001 From: Juan Pablo Caram Date: Sat, 8 Oct 2016 13:37:31 -0400 Subject: [PATCH] Added build file for PyInstaller --- FlatCAM.spec | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 FlatCAM.spec diff --git a/FlatCAM.spec b/FlatCAM.spec new file mode 100644 index 00000000..73ee23c7 --- /dev/null +++ b/FlatCAM.spec @@ -0,0 +1,33 @@ +# -*- mode: python -*- + +block_cipher = None + + +a = Analysis(['FlatCAM.py'], + pathex=['/home/jpcaram/flatcam'], + binaries=None, + datas=[('share/*', 'share')], + hiddenimports=[], + 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, + exclude_binaries=True, + name='FlatCAM', + debug=False, + strip=False, + upx=True, + console=True ) +coll = COLLECT(exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + name='FlatCAM')