Skip to content

Commit

Permalink
Merge branch 'main' of github.com:buda-base/tibetan-ocr-app into main
Browse files Browse the repository at this point in the history
  • Loading branch information
eroux committed Jan 8, 2025
2 parents f6b3c5d + ff91e5e commit 68d88ca
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ MANIFEST
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
Expand Down
52 changes: 52 additions & 0 deletions macos.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[("Assets", "Assets"), ("Models", "Models")],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(
a.pure,
a.zipped_data
)

exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='main',
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,
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='main',
)

app = BUNDLE(coll,
name='BDRC.app',
icon="logo.icns",
bundle_identifier=None)

0 comments on commit 68d88ca

Please sign in to comment.