set dynmaic

This commit is contained in:
shenjack 2023-12-03 20:22:58 +08:00
parent 8a2cb484ed
commit 3c11de0fba
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1,10 +1,5 @@
[build-system]
requires = ["setuptools>=42", "wheel", "nuitka", "toml"]
build-backend = "nuitka.distutils.Build"
[project] [project]
name = "difficult-rocket" name = "difficult-rocket"
version = "0.8.7.3"
description = "A rocket game" description = "A rocket game"
authors = [{ name = "shenjackyuanjie", email = "3695888@qq.com" }] authors = [{ name = "shenjackyuanjie", email = "3695888@qq.com" }]
dependencies = [ dependencies = [
@ -18,11 +13,13 @@ dependencies = [
requires-python = ">=3.8" requires-python = ">=3.8"
license = { text = "CC-BY-NA-SA 4.0" } license = { text = "CC-BY-NA-SA 4.0" }
readme = "README.md" readme = "README.md"
gui-scripts = { DR = "Difficult_Rocket.DR:main" } dynamic = ["version"]
[tool.setuptools] [tool.setuptools]
packages = [] packages = []
[tool.setuptools.dynamic]
version = { attr = "Difficult_Rocket.__version__" }
[project.optional-dependencies] [project.optional-dependencies]
build = [ build = [