From 295534960d75ac94c5f50fd9a6a3cecfc48c0f12 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Thu, 20 Feb 2020 16:11:56 +0530 Subject: packaging with pyinstaller --- Debian/nghdl.spec | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Debian/nghdl.spec (limited to 'Debian/nghdl.spec') diff --git a/Debian/nghdl.spec b/Debian/nghdl.spec new file mode 100644 index 0000000..61f3fa8 --- /dev/null +++ b/Debian/nghdl.spec @@ -0,0 +1,32 @@ +# -*- mode: python ; coding: utf-8 -*- + +block_cipher = None + +a = Analysis(['nghdl/src/ngspice_ghdl.py'], + pathex=['/home/rahul/Music'], + binaries=[], + datas=[], + hiddenimports=['PyQt4.sip'], + hookspath=[], + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False) +pyz = PYZ(a.pure, a.zipped_data, + cipher=block_cipher) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + [], + name='nghdl', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + upx_exclude=[], + runtime_tmpdir=None, + console=True ) -- cgit