.spec for linux
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Pedro Jose Romero Gombau 2025-01-22 12:00:26 +01:00
parent e8567bbc75
commit 06b62c5143
2 changed files with 41 additions and 1 deletions

View File

@ -7,7 +7,7 @@ steps:
image: python:3.9
commands:
- pip install --no-cache-dir pyinstaller
- pyinstaller --clean LaunchSim.spec
- pyinstaller --clean LaunchSimLinux.spec
- name: push-artifacts
image: alpine/git

40
LaunchSimLinux.spec Normal file
View File

@ -0,0 +1,40 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['src/main.py'],
pathex=['.'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='LaunchSim',
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,
icon='src/static/icon.ico',
)