Skip to content

Commit f533fde

Browse files
committed
refactored: 整理
1 parent e1c1dd3 commit f533fde

File tree

6 files changed

+8
-2
lines changed

6 files changed

+8
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package/config.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# 配置文件
22

3-
使用`pyproject.toml`,规范详见[setuptools文档](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html)
3+
使用`pyproject.toml`
4+
5+
主要原因:
6+
7+
- 有统一的、更现代化的标准。(TODO:具体PEP规范)
8+
- 集中在一个配置文件,方便统一维护。
49

510
## `[project]`
611

@@ -30,9 +35,10 @@ classifiers = [
3035

3136
## `[tool.setuptools]`
3237

38+
规范详见[setuptools文档](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html)
39+
3340
```toml
3441
packages = ["<your_package_dir>"]
3542
```
3643

3744
注意配置此项,避免`tests``exmaple`等文件夹被错误打包。
38-
File renamed without changes.

0 commit comments

Comments
 (0)