Skip to content

Commit

Permalink
ci: move pyinstaller files to a separate path
Browse files Browse the repository at this point in the history
Signed-off-by: yshalsager <[email protected]>
  • Loading branch information
yshalsager committed Apr 24, 2022
1 parent 8956bd5 commit f54aca5
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 85 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
uses: yshalsager/pyinstaller-action-windows@main
with:
path: .
spec: wit_transcriber.spec
spec: pyinstaller/wit_transcriber.spec
requirements: pyinstaller/requirements.txt

- uses: actions/upload-artifact@v2
if: github.actor != 'dependabot[bot]'
Expand All @@ -32,7 +33,8 @@ jobs:
uses: yshalsager/pyinstaller-action-linux@main
with:
path: .
spec: wit_transcriber.spec
spec: pyinstaller/wit_transcriber.spec
requirements: pyinstaller/requirements.txt

- uses: actions/upload-artifact@v2
if: github.actor != 'dependabot[bot]'
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
hooks:
- id: system
name: Requirements
entry: poetry export --format=requirements.txt --without-hashes --dev --output=requirements.txt
entry: poetry export --format=requirements.txt --without-hashes --output=pyinstaller/requirements.txt
pass_filenames: false
language: system

Expand Down
11 changes: 11 additions & 0 deletions pyinstaller/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
anyio==3.5.0; python_full_version >= "3.6.2" and python_version >= "3.6"
certifi==2021.10.8; python_version >= "3.6"
charset-normalizer==2.0.12; python_full_version >= "3.5.0" and python_version >= "3.6"
h11==0.12.0; python_version >= "3.6"
httpcore==0.14.7; python_version >= "3.6"
httpx==0.22.0; python_version >= "3.6"
idna==3.3; python_version >= "3.6" and python_full_version >= "3.6.2"
pydub==0.25.1
ratelimiter==1.2.0.post0
rfc3986==1.5.0; python_version >= "3.6"
sniffio==1.2.0; python_full_version >= "3.6.2" and python_version >= "3.6"
44 changes: 44 additions & 0 deletions pyinstaller/wit_transcriber.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(
['../wit_transcriber.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig=None,
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='wit_transcriber',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
42 changes: 0 additions & 42 deletions requirements.txt

This file was deleted.

40 changes: 0 additions & 40 deletions wit_transcriber.spec

This file was deleted.

0 comments on commit f54aca5

Please sign in to comment.