From 1eb60a64ed76af1cd50d82d98f35f1580ab76d49 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Sat, 8 Jul 2023 20:22:57 +0200 Subject: [PATCH] Update pyproject.toml and abort using pyinstaller --- Open-FM.spec | 51 -------------------------------------------------- pyproject.toml | 9 +++------ 2 files changed, 3 insertions(+), 57 deletions(-) delete mode 100644 Open-FM.spec diff --git a/Open-FM.spec b/Open-FM.spec deleted file mode 100644 index 6dff620..0000000 --- a/Open-FM.spec +++ /dev/null @@ -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', -) diff --git a/pyproject.toml b/pyproject.toml index c7dbd4f..a28c0a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,15 +12,12 @@ python = "^3.11" requests = "^2.31.0" PySide6 = "^6.5.1.1" -[tool.poetry.group.dev.dependencies] -pyinstaller = "^5.12.0" - [tool.poetry.scripts] openfm-qt = "openfm_qt.__main__:main" +[tool.poetry.build] +script = "prebuild.py" + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" - -[tool.poetry.build] -script = "build.py"