Update pyproject.toml and abort using pyinstaller

This commit is contained in:
Wiktor Zykubek 2023-07-08 20:22:57 +02:00
parent eb86628f6e
commit 1eb60a64ed
No known key found for this signature in database
GPG Key ID: 0DAA9DC01449FCA2
2 changed files with 3 additions and 57 deletions

View File

@ -1,51 +0,0 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['main.py'],
pathex=[],
binaries=[('icon.ico', '.')],
datas=[],
hiddenimports=[],
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,
[],
exclude_binaries=True,
name='Open-FM',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=['icon.ico'],
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='Open-FM',
)

View File

@ -12,15 +12,12 @@ python = "^3.11"
requests = "^2.31.0" requests = "^2.31.0"
PySide6 = "^6.5.1.1" PySide6 = "^6.5.1.1"
[tool.poetry.group.dev.dependencies]
pyinstaller = "^5.12.0"
[tool.poetry.scripts] [tool.poetry.scripts]
openfm-qt = "openfm_qt.__main__:main" openfm-qt = "openfm_qt.__main__:main"
[tool.poetry.build]
script = "prebuild.py"
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
[tool.poetry.build]
script = "build.py"