2022-09-03 19:41:26 +08:00
|
|
|
[tool.poetry]
|
|
|
|
name = "py2exe-gui"
|
2024-01-04 22:04:06 +08:00
|
|
|
version = "0.3.1"
|
2022-09-05 16:18:41 +08:00
|
|
|
description = "GUI for PyInstaller, based on PySide6"
|
2022-09-04 15:11:43 +08:00
|
|
|
keywords = ["PyInstaller", "GUI", "PySide6"]
|
2022-09-03 19:41:26 +08:00
|
|
|
authors = ["muzing <muzi2001@foxmail.com>"]
|
2022-09-04 15:11:43 +08:00
|
|
|
license = "GPL-3.0-or-later"
|
2022-12-02 17:26:02 +08:00
|
|
|
readme = ["README.md", "README_zh.md"]
|
2022-09-03 19:41:26 +08:00
|
|
|
repository = "https://github.com/muziing/Py2exe-GUI"
|
2024-01-04 22:04:06 +08:00
|
|
|
exclude = ["src/py2exe_gui/Resources"]
|
|
|
|
include = ["src/py2exe_gui/Resources/COMPILED_RESOURCES.py"]
|
2023-12-19 20:25:03 +08:00
|
|
|
classifiers = [
|
2024-01-02 22:26:42 +08:00
|
|
|
"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
|
|
|
|
2022-09-19 17:10:12 +08:00
|
|
|
[tool.poetry.urls]
|
|
|
|
"Bug Tracker" = "https://github.com/muziing/Py2exe-GUI/issues"
|
|
|
|
|
2023-12-08 23:08:14 +08:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
py2exe-gui = 'py2exe_gui.__main__:main'
|
|
|
|
|
2023-11-12 21:30:45 +08:00
|
|
|
#[[tool.poetry.source]]
|
|
|
|
#name = "tsinghua_mirror"
|
|
|
|
#url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
|
|
|
|
#priority = "default"
|
|
|
|
|
2023-11-11 20:29:52 +08:00
|
|
|
[tool.poetry.dependencies]
|
2023-12-16 10:38:39 +08:00
|
|
|
python = ">=3.8,<3.13"
|
2024-01-05 16:52:41 +08:00
|
|
|
PySide6-Essentials = "^6.2.0"
|
|
|
|
pyyaml = "^6.0.0"
|
2023-11-11 20:29:52 +08:00
|
|
|
|
|
|
|
[tool.poetry.group.dev]
|
2022-09-19 17:10:12 +08:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2023-11-11 20:29:52 +08:00
|
|
|
pre-commit = "^3.5.0"
|
2023-12-12 18:51:43 +08:00
|
|
|
black = "^23.12.0"
|
|
|
|
isort = "^5.13.0"
|
2024-01-04 22:04:06 +08:00
|
|
|
ruff = "^0.1.11"
|
2023-12-27 16:31:45 +08:00
|
|
|
mypy = "^1.8.0"
|
2023-11-29 20:33:55 +08:00
|
|
|
pyinstaller = "^6.2.0"
|
2023-12-12 18:51:43 +08:00
|
|
|
types-pyyaml = "^6.0.12.12"
|
2023-12-31 14:56:17 +08:00
|
|
|
line-profiler = "^4.1.2"
|
2022-09-03 19:41:26 +08:00
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 88
|
2023-01-05 17:10:45 +08:00
|
|
|
target-version = ["py311"]
|
2023-12-28 17:04:47 +08:00
|
|
|
extend-exclude = "COMPILED_RESOURCES\\.py"
|
2022-09-03 19:41:26 +08:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
line_length = 88
|
2023-12-28 17:04:47 +08:00
|
|
|
py_version = 311
|
|
|
|
skip_glob = ["src/py2exe_gui/Resources/*"]
|
2022-09-03 19:41:26 +08:00
|
|
|
|
|
|
|
[tool.mypy]
|
2023-01-05 17:10:45 +08:00
|
|
|
python_version = "3.11"
|
2022-09-03 19:41:26 +08:00
|
|
|
warn_return_any = true
|
2022-09-19 17:10:12 +08:00
|
|
|
ignore_missing_imports = true
|
2023-11-11 20:29:52 +08:00
|
|
|
check_untyped_defs = true
|
2023-12-28 17:04:47 +08:00
|
|
|
exclude = ["COMPILED_RESOURCES\\.py$"]
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
extend-exclude = ["COMPILED_RESOURCES.py"]
|
2023-11-11 20:29:52 +08:00
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
select = [
|
|
|
|
# Pyflakes
|
|
|
|
"F",
|
|
|
|
# pyupgrade
|
|
|
|
"UP",
|
|
|
|
# flake8-bugbear
|
|
|
|
"B",
|
|
|
|
# flake8-simplify
|
|
|
|
"SIM",
|
|
|
|
]
|
|
|
|
ignore = ["F401", "F403"]
|
|
|
|
|
2022-09-04 15:11:43 +08:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|