spec
This commit is contained in:
parent
3b47b46e51
commit
a6328e939d
43
main.spec
Normal file
43
main.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# main.spec per .exe singolo
|
||||||
|
block_cipher = None
|
||||||
|
|
||||||
|
a = Analysis(
|
||||||
|
['main.py'],
|
||||||
|
pathex=[],
|
||||||
|
binaries=[],
|
||||||
|
datas=[
|
||||||
|
('models.py', '.'),
|
||||||
|
('database.py', '.'),
|
||||||
|
('contants.py', '.') # correggi se è constants.py
|
||||||
|
],
|
||||||
|
hiddenimports=['pyodbc'],
|
||||||
|
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='ManganelliOrdiniApi',
|
||||||
|
debug=False,
|
||||||
|
bootloader_ignore_signals=False,
|
||||||
|
strip=False,
|
||||||
|
upx=True,
|
||||||
|
console=True,
|
||||||
|
disable_windowed_traceback=False,
|
||||||
|
target_arch=None,
|
||||||
|
codesign_identity=None,
|
||||||
|
entitlements_file=None,
|
||||||
|
icon=None, # o 'icon.ico'
|
||||||
|
singlefile=True
|
||||||
|
)
|
||||||
Loading…
Reference in New Issue
Block a user