mirror of
https://github.com/muziing/Py2exe-GUI.git
synced 2025-01-13 16:42:54 +08:00
f5b3793903
新功能: - 初步实现用户浏览选择其他 Python 解释器环境功能; - 可以根据路径名称规律简单推断 Python 环境类型; 修复与优化: - 修复因类型错误导致不能正确处理 option_error 的问题,用户输入错误时能够得到正确的警告提示了; - 大幅完善与优化 docstrings,使符合 Sphinx 风格; - 添加各模块的 `__all__` 白名单入口,模块成员更清晰; - 将部分控件的从属关系进行调整优化; - 略微优化性能;
84 lines
1.8 KiB
TOML
84 lines
1.8 KiB
TOML
[tool.poetry]
|
|
name = "py2exe-gui"
|
|
version = "0.3.0"
|
|
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"]
|
|
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,<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.9"
|
|
mypy = "^1.8.0"
|
|
pyinstaller = "^6.2.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"
|