-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (35 loc) · 1.06 KB
/
pyproject.toml
File metadata and controls
39 lines (35 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[build-system]
requires = ["setuptools>=65.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "sc-python-templates"
dynamic = ["version"] # 声明 version 为动态字段
description = "python project"
readme = "README.rst"
authors = [
{ name = "Scott Lau" }
]
license = { text = "MIT" }
keywords = ["python"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
'Topic :: Software Development',
'Topic :: Utilities',
]
dependencies = [
"sc-utilities==0.0.17",
"PySide6==6.6.3.1",
]
[project.entry-points.console_scripts]
sc-python-templates = "sc_templates.main:main"
[tool.setuptools]
packages = { find = { exclude = ["tests", "tests.*"] } }
include-package-data = true
[tool.setuptools.dynamic]
# 指定从 sc_templates/__init__.py 中获取 __version__
version = { attr = "sc_templates.__version__" }