mirror of
https://github.com/muziing/Py2exe-GUI.git
synced 2025-01-13 16:42:54 +08:00
c8c76c19b0
以更新依赖项为主的小版本更新; 版权信息添加至2023年; 增加 `pre-commit`、`ruff` 等开发工具,进一步提高代码质量;
62 lines
1.2 KiB
TOML
62 lines
1.2 KiB
TOML
[tool.poetry]
|
|
name = "py2exe-gui"
|
|
version = "0.1.9"
|
|
description = "GUI for PyInstaller, based on PySide6"
|
|
keywords = ["PyInstaller", "GUI", "PySide6"]
|
|
authors = ["muzing <muzi2001@foxmail.com>"]
|
|
license = "GPL-3.0-or-later"
|
|
readme = ["README.md", "README_zh.md"]
|
|
repository = "https://github.com/muziing/Py2exe-GUI"
|
|
exclude = ["src/py2exe_gui/Resources/Icons", "src/py2exe_gui/Resources/Texts"]
|
|
|
|
[tool.poetry.urls]
|
|
"Bug Tracker" = "https://github.com/muziing/Py2exe-GUI/issues"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.8,<3.13"
|
|
PySide6 = "^6.5.0"
|
|
|
|
[tool.poetry.group.dev]
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
# Sphinx = "^5.3.0"
|
|
pre-commit = "^3.5.0"
|
|
black = "^22.12.0"
|
|
isort = "^5.12.0"
|
|
ruff = "^0.1.5"
|
|
mypy = "^1.7.0"
|
|
pyinstaller = "^5.13.0"
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ["py311"]
|
|
extend-exclude = "compiled_resources.py"
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 88
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
warn_return_any = true
|
|
ignore_missing_imports = true
|
|
check_untyped_defs = true
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# Pyflakes
|
|
"F",
|
|
# pyupgrade
|
|
"UP",
|
|
# flake8-bugbear
|
|
"B",
|
|
# flake8-simplify
|
|
"SIM",
|
|
]
|
|
ignore = ["F401", "F403"]
|
|
|
|
|
|
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|