Py2exe-GUI/pyproject.toml
2024-08-29 07:34:19 +08:00

92 lines
2.0 KiB
TOML

[tool.poetry]
name = "py2exe-gui"
version = "0.3.2"
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/*"]
include = ["src/py2exe_gui/Resources/COMPILED_RESOURCES.py"]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS"
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/muziing/Py2exe-GUI/issues"
[tool.poetry.scripts]
py2exe-gui = 'py2exe_gui.__main__:main'
#[[tool.poetry.source]]
#name = "tsinghua_mirror"
#url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
#priority = "default"
[tool.poetry.dependencies]
python = ">=3.8.1, <3.13"
PySide6-Essentials = "^6.2.0"
pyyaml = "^6.0.0"
Pillow = { version = "^10.0", optional = true }
pipreqs = { version = "^0.5.0", optional = true }
[tool.poetry.extras]
AddOns = ["Pillow", "pipreqs"]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
black = "^24.4.0"
isort = "^5.13.0"
ruff = ">=0.5.0, <1.0.0"
mypy = "^1.10.0"
pyinstaller = "^6.7.0"
types-pyyaml = "^6.0.12.12"
line-profiler = "^4.1.2"
[tool.black]
line-length = 88
target-version = ["py311"]
extend-exclude = "COMPILED_RESOURCES\\.py"
[tool.isort]
profile = "black"
line_length = 88
py_version = 311
skip_glob = ["src/py2exe_gui/Resources/*"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
ignore_missing_imports = true
check_untyped_defs = true
exclude = ["COMPILED_RESOURCES\\.py$"]
[tool.ruff]
extend-exclude = ["COMPILED_RESOURCES.py"]
[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"