-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(setup.py, pyproject.toml): 🛠️ 升级打包程序
1. 更新为新的打包系统
- Loading branch information
CangSpirit
committed
Jul 28, 2024
1 parent
b8bb524
commit bb8b484
Showing
3 changed files
with
47 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,42 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=24", | ||
"wheel" | ||
requires = ["setuptools>=42", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pyeal" | ||
version = "1.0.5" | ||
description = "Python 打包编译工具" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "cpcgskill", email = "[email protected]" } | ||
] | ||
#requires = [ | ||
# "setuptools>=24", | ||
#] | ||
build-backend = "setuptools.build_meta" | ||
license = { text = "Apache Software License (Apache 2.0)" } | ||
requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" | ||
classifiers = [ | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
] | ||
|
||
dependencies = [ | ||
"astunparse==1.6.3", | ||
"argparse==1.4.0" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/cpcgskill/pyeal" | ||
"Bug Tracker" = "https://github.com/cpcgskill/pyeal/issues" | ||
|
||
[project.scripts] | ||
pyeal = "pyeal.cli:main" | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] |