mirror of
https://github.com/Ircama/epson_print_conf.git
synced 2024-10-18 01:00:36 -04:00
Add epson_print_conf.spec
This commit is contained in:
parent
53ac3f6515
commit
28f381deb7
2 changed files with 53 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -30,7 +30,7 @@ MANIFEST
|
||||||
# Usually these files are written by a python script from a template
|
# 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.
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||||
*.manifest
|
*.manifest
|
||||||
*.spec
|
# *.spec
|
||||||
|
|
||||||
# Installer logs
|
# Installer logs
|
||||||
pip-log.txt
|
pip-log.txt
|
||||||
|
|
52
epson_print_conf.spec
Normal file
52
epson_print_conf.spec
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument("--default", action="store_true")
|
||||||
|
options = parser.parse_args()
|
||||||
|
|
||||||
|
PROGRAM = [ 'gui.py' ]
|
||||||
|
DATAS = [('printer_conf.pickle', '.')]
|
||||||
|
|
||||||
|
if options.default:
|
||||||
|
PROGRAM = [ 'ui.py' ]
|
||||||
|
DATAS = []
|
||||||
|
|
||||||
|
a = Analysis(
|
||||||
|
PROGRAM,
|
||||||
|
pathex=[],
|
||||||
|
binaries=[],
|
||||||
|
datas=DATAS,
|
||||||
|
hiddenimports=['babel.numbers'],
|
||||||
|
hookspath=[],
|
||||||
|
hooksconfig={},
|
||||||
|
runtime_hooks=[],
|
||||||
|
excludes=[],
|
||||||
|
noarchive=False,
|
||||||
|
optimize=0,
|
||||||
|
)
|
||||||
|
|
||||||
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
|
exe = EXE(
|
||||||
|
pyz,
|
||||||
|
a.scripts,
|
||||||
|
a.binaries,
|
||||||
|
a.datas,
|
||||||
|
[],
|
||||||
|
name='epson_print_conf',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
upx_exclude=[],
|
||||||
|
runtime_tmpdir=None,
|
||||||
|
console=False,
|
||||||
|
disable_windowed_traceback=False,
|
||||||
|
argv_emulation=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None,
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue