Py2exe-GUI/pyproject.toml

84 lines
1.8 KiB
TOML
Raw Normal View History

2022-09-03 19:41:26 +08:00
[tool.poetry]
name = "py2exe-gui"
version = "0.3.1"
description = "GUI for PyInstaller, based on PySide6"
keywords = ["PyInstaller", "GUI", "PySide6"]
2022-09-03 19:41:26 +08:00
authors = ["muzing <muzi2001@foxmail.com>"]
license = "GPL-3.0-or-later"
readme = ["README.md", "README_zh.md"]
2022-09-03 19:41:26 +08:00
repository = "https://github.com/muziing/Py2exe-GUI"
exclude = ["src/py2exe_gui/Resources"]
include = ["src/py2exe_gui/Resources/COMPILED_RESOURCES.py"]
2023-12-19 20:25:03 +08:00
classifiers = [
"Development Status :: 4 - Beta",
2023-12-19 20:25:03 +08:00
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS"
]
2022-09-03 19:41:26 +08:00
[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,<3.13"
PySide6 = "^6.6.0"
pyyaml = "^6.0.1"
[tool.poetry.group.dev]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
black = "^23.12.0"
isort = "^5.13.0"
ruff = "^0.1.11"
mypy = "^1.8.0"
pyinstaller = "^6.2.0"
types-pyyaml = "^6.0.12.12"
line-profiler = "^4.1.2"
2022-09-03 19:41:26 +08:00
[tool.black]
line-length = 88
target-version = ["py311"]
extend-exclude = "COMPILED_RESOURCES\\.py"
2022-09-03 19:41:26 +08:00
[tool.isort]
profile = "black"
line_length = 88
py_version = 311
skip_glob = ["src/py2exe_gui/Resources/*"]
2022-09-03 19:41:26 +08:00
[tool.mypy]
python_version = "3.11"
2022-09-03 19:41:26 +08:00
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"