2022-10-29 19:13:00 +08:00
|
|
|
[build-system]
|
2023-11-18 23:07:14 +08:00
|
|
|
requires = ["setuptools>=42", "wheel", "nuitka", "toml"]
|
|
|
|
build-backend = "nuitka.distutils.Build"
|
2023-01-20 23:30:27 +08:00
|
|
|
|
|
|
|
[project]
|
2023-01-27 20:20:28 +08:00
|
|
|
name = "difficult-rocket"
|
2023-12-02 10:39:00 +08:00
|
|
|
version = "0.8.7.3"
|
2023-01-27 20:20:28 +08:00
|
|
|
description = "A rocket game"
|
2023-11-18 23:07:14 +08:00
|
|
|
authors = [{ name = "shenjackyuanjie", email = "3695888@qq.com" }]
|
2023-01-20 23:30:27 +08:00
|
|
|
dependencies = [
|
2023-01-27 20:20:28 +08:00
|
|
|
"psutil<6.0.0,>=5.9.3",
|
|
|
|
"objprint<1.0.0,>=0.2.2",
|
|
|
|
"Pillow<10.0.0,>=9.2.0",
|
|
|
|
"tomlkit<1.0.0,>=0.11.6",
|
|
|
|
"rtoml<1.0.0,>=0.8.0",
|
2023-01-28 23:18:34 +08:00
|
|
|
"defusedxml>=0.7.1",
|
2023-01-20 23:30:27 +08:00
|
|
|
]
|
2023-01-27 20:20:28 +08:00
|
|
|
requires-python = ">=3.8"
|
2023-11-18 23:07:14 +08:00
|
|
|
license = { text = "CC-BY-NA-SA 4.0" }
|
2023-01-27 20:20:28 +08:00
|
|
|
readme = "README.md"
|
2023-11-18 23:07:14 +08:00
|
|
|
gui-scripts = { DR = "Difficult_Rocket.DR:main" }
|
|
|
|
|
|
|
|
[tool.setuptools]
|
|
|
|
packages = []
|
|
|
|
|
2023-01-27 20:20:28 +08:00
|
|
|
|
2023-01-28 23:18:34 +08:00
|
|
|
[project.optional-dependencies]
|
|
|
|
build = [
|
|
|
|
"setuptools-rust>=1.5.2,<=1.6.0",
|
|
|
|
"wheel>=0.38.4,<1.0.0",
|
2023-11-18 23:07:14 +08:00
|
|
|
"nuitka>=1.8.6",
|
2023-01-28 23:18:34 +08:00
|
|
|
"setuptools>=65.5.0",
|
|
|
|
"viztracer<1.0.0,>=0.15.4",
|
|
|
|
"vizplugins<1.0.0,>=0.1.2",
|
|
|
|
"ordered-set>=4.1.0",
|
|
|
|
"imageio>=2.25.0",
|
|
|
|
]
|
2023-02-25 09:18:41 +08:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
|
|
|
target-version = "py38"
|
|
|
|
line-length = 150
|
2023-11-20 20:34:33 +08:00
|
|
|
src = ["Difficult_Rocket", "libs/utils", "mods"]
|
|
|
|
exclude = [
|
|
|
|
'libs/pyglet',
|
|
|
|
'libs/pyperclip',
|
|
|
|
'libs/lib_not_dr',
|
|
|
|
'libs/MCDR/serializer.py',
|
|
|
|
'libs/utils/logger-old.py', # 旧版日志, 忽略他就好
|
|
|
|
]
|
2023-02-25 09:18:41 +08:00
|
|
|
|
2023-11-20 20:34:33 +08:00
|
|
|
[tool.lndl.nuitka]
|
2023-02-25 09:18:41 +08:00
|
|
|
|
2023-11-18 23:07:14 +08:00
|
|
|
lto = "yes"
|
|
|
|
main = "DR.py"
|
|
|
|
clang = true
|
2023-11-27 00:21:19 +08:00
|
|
|
msvc = "latest"
|
2023-11-18 23:07:14 +08:00
|
|
|
standalone = true
|
2023-11-27 00:21:19 +08:00
|
|
|
output-dir = "build"
|
|
|
|
|