Skip to content

Commit

Permalink
added autobuilding (thx for the donation)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marx Mustermann committed Jan 25, 2024
1 parent 6b0adab commit 361ce9f
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflow/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Package Application with Pyinstaller

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Package Application
uses: hero-clashes/pyinstaller-action-windows@python3-10-pyinstaller-5-3
with:
path: .
spec: OfMiceAndMechs.spec
- uses: actions/upload-artifact@v2
with:
name: OfMiceAndMechs
path: ./dist/windows
44 changes: 44 additions & 0 deletions OfMiceAndMechs.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
['executeMe.py'],
pathex=[],
binaries=[],
datas=[('.', '.')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='OfMiceAndMechs',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
contents_directory='.',
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='OfMiceAndMechs',
)
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pyinstaller==6.3.0
tcod
urwid
pre-commit
pygame
soundfile
tcod
requests

0 comments on commit 361ce9f

Please sign in to comment.