Skip to content

Commit

Permalink
feat(setup): fixed few issues with the setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
koprivajakub committed Aug 28, 2024
1 parent c2269fd commit de045c7
Show file tree
Hide file tree
Showing 9 changed files with 405 additions and 134 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
uses: pguyot/arm-runner-action@v2
with:
#bind_mount_repository: true
base_image: raspios_lite_arm64:latest
copy_artifact_path: dist
commands: |
apt install -y python3-pip
Expand Down Expand Up @@ -76,7 +77,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
${{ steps.file_names.outputs.file_path }}
${{ steps.file_names.outputs.versioned_release_file_path }}
tag_name: ${{ github.event.inputs.release_version }}
name: Release ${{ github.event.inputs.release_version }}
draft: true
Expand Down
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/rPyCamera.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

127 changes: 0 additions & 127 deletions main.py

This file was deleted.

37 changes: 37 additions & 0 deletions src/build.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# -*- mode: python ; coding: utf-8 -*-

from PyInstaller.utils.hooks import collect_data_files

a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[("templates/*", "templates/")],
hiddenimports=[],
hookspath=[],
hooksconfig=[],
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='install-camera',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
codesign_identity=None,
entitlements_file=None,
)
Loading

0 comments on commit de045c7

Please sign in to comment.