update requirement and version DR 0.8.5.0
This commit is contained in:
parent
8c91198e87
commit
3e54946eeb
@ -10,7 +10,7 @@ from pathlib import Path
|
||||
|
||||
from Difficult_Rocket.api.types import Options, Version
|
||||
|
||||
game_version = Version("0.8.4.1") # 游戏版本
|
||||
game_version = Version("0.8.5.0") # 游戏版本
|
||||
build_version = Version("2.1.0.0") # 编译文件版本(与游戏本体无关)
|
||||
Api_version = Version("0.1.1.0") # API 版本
|
||||
__version__ = game_version
|
||||
|
23
README.md
23
README.md
@ -66,7 +66,7 @@
|
||||
|
||||
## 需要的 Python 模块
|
||||
|
||||
- `pyglet` (已经内置 V2.0.5 路径:`./libs/pyglet`)
|
||||
- `pyglet` (已经内置 V2.0.8 路径:`./libs/pyglet`)
|
||||
- `xmltodict` (已经内置 V0.12.0 路径:`./libs/xmltodict`)
|
||||
- `pyperclip` (已经内置 V1.8.2 路径: `./libs/pyperclip`)
|
||||
|
||||
@ -77,28 +77,29 @@
|
||||
# DR contributing
|
||||
|
||||
# for images
|
||||
pillow >= 9.5.0
|
||||
# not for pypy >= 3.10
|
||||
pillow >= 9.5.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
|
||||
|
||||
# for sys info
|
||||
psutil >= 5.9.5
|
||||
|
||||
# for files
|
||||
rtoml >= 0.9.0
|
||||
tomlkit >= 0.11.7
|
||||
tomlkit >= 0.11.8
|
||||
defusedxml >= 0.7.1
|
||||
|
||||
# for debug
|
||||
objprint >= 0.2.2
|
||||
viztracer >= 0.15.6
|
||||
vizplugins >= 0.1.3
|
||||
viztracer >= 0.15.6; platform_python_implementation != "PyPy"
|
||||
vizplugins >= 0.1.3; platform_python_implementation != "PyPy"
|
||||
|
||||
# for compile
|
||||
nuitka >= 1.5.6
|
||||
nuitka >= 1.6.5
|
||||
ordered-set >= 4.1.0
|
||||
imageio >= 2.27.0
|
||||
imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
|
||||
wheel >= 0.40.0
|
||||
setuptools >= 67.6.1
|
||||
setuptools-rust >= 1.5.2
|
||||
setuptools >= 67.8.0
|
||||
setuptools-rust >= 1.6.0
|
||||
```
|
||||
|
||||
## 感谢
|
||||
@ -108,8 +109,8 @@ setuptools-rust >= 1.5.2
|
||||
- `tomlkit` / `rtoml` : toml 解析器
|
||||
- `xmltodict`: xml 与 dict 转换器
|
||||
- `pyperclip`: 剪贴板!
|
||||
- `rapier2d`: 物理模拟引擎
|
||||
- `pyo3`: Rust Python 扩展
|
||||
- [rapier2d](https://rapier.rs/) : 物理模拟引擎
|
||||
- [pyo3](https://pyo3.rs/main): Rust Python 扩展
|
||||
|
||||
- 主要贡献者
|
||||
- [@Rayawa](https://github.com/Rayawa) : 文档矫正 & 翻译部分 lang
|
||||
|
@ -19,9 +19,9 @@
|
||||
|
||||
[About Versions](src/version.md)
|
||||
|
||||
[![Generic badge](https://img.shields.io/badge/Release-0.8.4.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.4.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.5-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Release-0.8.5.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Pre_Release-0.8.5.0-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
[![Generic badge](https://img.shields.io/badge/Devloping-0.8.6-blue.svg)](https://github.com/shenjackyuanjie/Difficult-Rocket/releases)
|
||||
|
||||
[![language badge](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)](https://stats.deeptrain.net/repo/shenjackyuanjie/Difficult-Rocket?theme=dark)
|
||||
|
||||
@ -66,7 +66,7 @@
|
||||
|
||||
## Required python modules
|
||||
|
||||
- `pyglet` (pre-installed V2.0.5 path:`./libs/pyglet`)
|
||||
- `pyglet` (pre-installed V2.0.8 path:`./libs/pyglet`)
|
||||
- `xmltodict` (pre-installed V0.12.0 path:`./libs/xmltodict`)
|
||||
- `pyperclip` (pre-installed V1.8.2 path: `./libs/pyperclip`)
|
||||
|
||||
@ -77,28 +77,30 @@
|
||||
# DR contributing
|
||||
|
||||
# for images
|
||||
pillow >= 9.5.0
|
||||
# not for pypy >= 3.10
|
||||
pillow >= 9.5.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
|
||||
|
||||
# for sys info
|
||||
psutil >= 5.9.5
|
||||
|
||||
# for files
|
||||
rtoml >= 0.9.0
|
||||
tomlkit >= 0.11.7
|
||||
tomlkit >= 0.11.8
|
||||
defusedxml >= 0.7.1
|
||||
|
||||
# for debug
|
||||
objprint >= 0.2.2
|
||||
viztracer >= 0.15.6
|
||||
vizplugins >= 0.1.3
|
||||
viztracer >= 0.15.6; platform_python_implementation != "PyPy"
|
||||
vizplugins >= 0.1.3; platform_python_implementation != "PyPy"
|
||||
|
||||
# for compile
|
||||
nuitka >= 1.5.6
|
||||
nuitka >= 1.6.5
|
||||
ordered-set >= 4.1.0
|
||||
imageio >= 2.27.0
|
||||
imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
|
||||
wheel >= 0.40.0
|
||||
setuptools >= 67.6.1
|
||||
setuptools-rust >= 1.5.2
|
||||
setuptools >= 67.8.0
|
||||
setuptools-rust >= 1.6.0
|
||||
|
||||
```
|
||||
|
||||
## thanks to
|
||||
@ -108,8 +110,8 @@ setuptools-rust >= 1.5.2
|
||||
- `tomlkit` / `rtoml` toml parser
|
||||
- `xmltodict`: translate data between xml and dict
|
||||
- `pyperclip`: paste board!
|
||||
- `rapier2d`: Phy simulate engine
|
||||
- `pyo3`: Rust Python Binding
|
||||
- [rapier2d](https://rapier.rs/) : Phy simulate engine
|
||||
- [pyo3](https://pyo3.rs/main) : Rust Python Binding
|
||||
|
||||
- Main contributors
|
||||
- [@Rayawa](https://github.com/Rayawa) : Check mistake in docs & some translates
|
||||
|
@ -2,7 +2,7 @@
|
||||
# DR game/DR rs 更新日志
|
||||
|
||||
- 最新版本号
|
||||
- DR game: 0.2.1.0
|
||||
- DR game: 0.3.0.0
|
||||
- DR rs: 0.2.15.0
|
||||
|
||||
## DR rs 0.3.0.0
|
||||
|
@ -2,7 +2,38 @@
|
||||
# DR SDK 更新日志
|
||||
|
||||
- 最新版本号
|
||||
- DR sdk: 0.8.4.0
|
||||
- DR sdk: 0.8.5.0
|
||||
|
||||
## DR sdk 0.8.5.0
|
||||
|
||||
### Changes
|
||||
|
||||
- `ModManager`
|
||||
- `get_mod_module(mod_name: str) -> Optional[ModInfo]`
|
||||
- 通过 mod 名称获取 mod 的信息
|
||||
- Get mod information by mod name
|
||||
- `load_mod(mod_path: Path) -> Optional[ModInfo]`
|
||||
- 加载指定路径的 mod
|
||||
- Load the mod at the specified path
|
||||
- `find_mods_in_path(extra_mods_path: Optional[List[Path]]) -> List[Path]`
|
||||
- 在指定的路径中查找 mod 并返回 mod 的路径
|
||||
- Find mods in the specified path and return the path of the mod
|
||||
- `unload_mod(mod_id: str, game: Game) -> Optional[ModInfo]`
|
||||
- 卸载指定的 mod 并返回 mod 的信息
|
||||
- Unload the specified mod and return the mod information
|
||||
- `reload_mod(mod_id: str, game: Game)`
|
||||
- 重新加载指定的 mod
|
||||
- Reload the specified mod
|
||||
|
||||
### Command
|
||||
|
||||
- `mods`
|
||||
- `list`
|
||||
- 列出所有已加载的 mod
|
||||
- List all loaded mods
|
||||
- `reload <mod_id>`
|
||||
- 重新加载指定的 mod
|
||||
- Reload the specified mod
|
||||
|
||||
## DR sdk 0.8.4.1
|
||||
|
||||
|
@ -6,7 +6,7 @@ build-backend = "pdm.pep517.api"
|
||||
|
||||
[project]
|
||||
name = "difficult-rocket"
|
||||
version = "0.8.4.0"
|
||||
version = "0.8.5.0"
|
||||
description = "A rocket game"
|
||||
authors = [
|
||||
{name = "shenjackyuanjie", email = "3695888@qq.com"}
|
||||
|
@ -18,7 +18,7 @@ defusedxml >= 0.7.1
|
||||
objprint >= 0.2.2
|
||||
|
||||
# for compile
|
||||
nuitka >= 1.6.3
|
||||
nuitka >= 1.6.5
|
||||
ordered-set >= 4.1.0
|
||||
imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
|
||||
wheel >= 0.40.0
|
||||
|
@ -21,7 +21,7 @@ viztracer >= 0.15.6; platform_python_implementation != "PyPy"
|
||||
vizplugins >= 0.1.3; platform_python_implementation != "PyPy"
|
||||
|
||||
# for compile
|
||||
nuitka >= 1.6.3
|
||||
nuitka >= 1.6.5
|
||||
ordered-set >= 4.1.0
|
||||
imageio >= 2.31.0; (platform_python_implementation == "PyPy" and python_version < "3.10") or platform_python_implementation == "CPython"
|
||||
wheel >= 0.40.0
|
||||
|
Loading…
Reference in New Issue
Block a user