Add additional files
This commit is contained in:
parent
50cfc17839
commit
7582c8d818
51
Open-FM.spec
Normal file
51
Open-FM.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
# -*- 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',
|
||||||
|
)
|
7
build.py
Normal file
7
build.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# This Python file uses the following encoding: utf-8
|
||||||
|
|
||||||
|
import PyInstaller.__main__
|
||||||
|
import os
|
||||||
|
|
||||||
|
os.system("pyside6-uic form.ui -o ui_form.py")
|
||||||
|
PyInstaller.__main__.run(['Open-FM.spec'])
|
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"files": ["form.ui","openfm_qt/mainwindow.py","openfm_qt/__init__.py","main.py"]
|
"files": ["build.py","openfm_qt/__init__.py","form.ui","main.py","Open-FM.spec","pyproject.toml","openfm_qt/mainwindow.py","icon.ico","README.md"]
|
||||||
}
|
}
|
||||||
|
20
pyproject.toml
Normal file
20
pyproject.toml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[tool.poetry]
|
||||||
|
name = "openfm-qt"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Qt client for Polish internet radio Open FM."
|
||||||
|
authors = ["Wiktor Zykubek <wz-git@mailbox.org>"]
|
||||||
|
license = "ISC"
|
||||||
|
readme = "README.md"
|
||||||
|
packages = [{include = "openfm_qt"}]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.11"
|
||||||
|
requests = "^2.31.0"
|
||||||
|
PySide6 = "^6.5.1.1"
|
||||||
|
|
||||||
|
[tool.poetry.group.dev.dependencies]
|
||||||
|
pyinstaller = "^5.12.0"
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core"]
|
||||||
|
build-backend = "poetry.core.masonry.api"
|
Loading…
x
Reference in New Issue
Block a user