diff --git a/.drone.yml b/.drone.yml index aefb498..8ce2e3f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/LaunchSimLinux.spec b/LaunchSimLinux.spec new file mode 100644 index 0000000..411d534 --- /dev/null +++ b/LaunchSimLinux.spec @@ -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', +)