Files
lesson-highlights/pyproject.toml
T

72 lines
1.5 KiB
TOML

[project]
name = "piano-highlight-app"
version = "1.0.0"
description = "Piano Highlight Generator App - 自动生成钢琴课精华宣传视频"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
authors = [
{name = "Piano Tools Team"}
]
dependencies = [
"PySide6>=6.6.0",
"pyyaml>=6.0",
"requests>=2.31.0",
"pypinyin>=0.50.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-qt>=4.0.0",
]
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
[tool.nuitka]
# Basic options
assume_yes_for_downloads = true
show_progress = true
verbose = false
# Output configuration
output_dir = "dist"
output_name = "PianoHighlightGenerator"
# Python version
python_version = "3.10"
# Compilation mode
standalone = true
onefile = true
# Plugin enablement
enable_plugin.pyside6 = true
# Windows specific
[tool.nuitka.windows]
console = false # GUI app, no console window
# Data files to include (relative to project root)
# Uncomment when prompts directory exists:
# include_data_files = [
# { from = "src/core/prompts", to = "prompts", relative_to = "." }
# ]
# Advanced options
[tool.nuitka.advanced]
# Treat sqlite as required (for state storage)
no_sqlite = false
# Include optional dependencies for better compatibility
include_optional = true