Skip to content

Commit

Permalink
added ontoloviz.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Ley committed Mar 27, 2023
1 parent 47a55b0 commit 70c8837
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
45 changes: 45 additions & 0 deletions ontoloviz.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(
['src\\ontoloviz\\__main__.py'],
pathex=[],
binaries=[],
datas=[("src", "ontoloviz")],
hiddenimports=['ontoloviz', "ontoloviz.app"],
hookspath=[],
hooksconfig={},
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='ontoloviz',
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=['logo.ico'],
)
6 changes: 5 additions & 1 deletion src/ontoloviz/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from .app import run_app
import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")))

from ontoloviz import run_app

if __name__ == "__main__":
run_app()

0 comments on commit 70c8837

Please sign in to comment.