Files
QPyPack/pyproject.toml
T
QwejayHuang e91b729463 v2.8.1: Fix version parsing crash, stabilize Nuitka lite mode, and refine CLI flags
- Fixed `IndexError: tuple index out of range` in Python version parsing for backport exclusion rules and environment analysis
- Stabilized Nuitka Lite Mode by adjusting aggressive optimization flags (`--lto=auto`, `--python-flag=-O`) to prevent compilation OOM and linker errors
- Restored essential base packages in Nuitka dev-module exclusions to prevent breaking downstream third-party libraries
- Fixed PyInstaller exclude parameter syntax (`--exclude-module`) incorrectly using Nuitka's `--nofollow-import-to`
- Improved console pause code injection to preserve PEP 263 file encoding declarations and Shebang headers
- Enhanced package name parsing regex to properly handle complex requirements specifications (e.g., `pkg[extras]`, `@ git+https://`)
- Added defensive validation when querying target environment interpreter versions and parsing backport rules
- Updated application version metadata and locale dictionaries to v2.8.1
Update test_check.py
2026-09-03 21:52:39 +08:00

61 lines
1.6 KiB
TOML

[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "qpypack"
version = "2.8.1"
description = "A cross-platform GUI packaging and compilation suite based on PyInstaller and Nuitka."
readme = "README_EN.md"
authors = [
{ name = "QwejayHuang" }
]
license = { text = "GPL-3.0-only" }
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: User Interfaces",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"PySide6>=6.0.0",
"Pillow>=9.0.0",
]
[project.urls]
"Homepage" = "https://github.com/qwejay/QPyPack"
"Bug Tracker" = "https://github.com/qwejay/QPyPack/issues"
"Source Code" = "https://github.com/qwejay/QPyPack"
"Documentation" = "https://github.com/Qwejay/QPyPack/blob/main/README_EN.md"
[project.scripts]
qpypack = "qpypack.main:main"
[tool.setuptools]
packages = ["qpypack"]
[tool.setuptools.package-data]
qpypack = [
"icon.ico",
"locales/*.json"
]
[project.optional-dependencies]
engines = [
"pyinstaller",
"nuitka",
"pipreqs",
"zstandard"
]