From bedefdbc1b5f1b75bfe027afd1f2fdf0c0ae8992 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 20 Apr 2023 19:54:53 +0800 Subject: [PATCH] update readme requirement [build skip] --- Difficult_Rocket/mod/__init__.py | 2 - README.md | 71 +++++++++++++++++++++++--------- docs/README-en.md | 64 ++++++++++++++++++++-------- requirement-build.txt | 18 ++++---- requirement-dev.txt | 18 ++++---- requirement.txt | 10 ++--- 6 files changed, 115 insertions(+), 68 deletions(-) diff --git a/Difficult_Rocket/mod/__init__.py b/Difficult_Rocket/mod/__init__.py index 38f7f63..630c8e7 100644 --- a/Difficult_Rocket/mod/__init__.py +++ b/Difficult_Rocket/mod/__init__.py @@ -68,8 +68,6 @@ MOD_info = MODInfo( write_loader_version=semver_loader_version ) -# print(MOD_info.serialize()) - """ 一些重置用函数 """ diff --git a/README.md b/README.md index 84dc941..f3685a0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ 996.icu [![Generic badge](https://img.shields.io/badge/SemVer-2.0.0-blue.svg)](https://Semver.org/) [![Generic badge](https://img.shields.io/badge/编写于_Python_版本-3.8.10-blue.svg)](https://Python.org) -[![Generic badge](https://img.shields.io/badge/编写于_Pyglet_版本-2.0.4-blue.svg)](https://pyglet.org) +[![Generic badge](https://img.shields.io/badge/编写于_Pyglet_版本-2.0.5-blue.svg)](https://pyglet.org) [![Generic badge](https://img.shields.io/badge/Python-_3.8_|_3.9_|_3.10_|_3.11_-blue.svg)](https://Python.org) ## 版本 @@ -40,29 +40,60 @@ ## 环境需求 (测试过的 / 开发平台) - `开发平台 1 - Windows 10 x64 22H2` - - `Python 3.8.10` - - `pillow 9.3.0` - - `pyperclip 1.8.2` - - `pyglet 2.0` - - `psutil 5.9.4` - - `objprint 0.2.2` - - `rtoml 0.9.0` - - `xmltodict 0.13.0` - - `tomlkit 0.11.6` - - `AMD R5 5600X` - - `AMD RX 550 4G` + - Python `3.8.10` + - pillow `9.5.0` + - psutil `5.9.5` + - rtoml `0.9.0` + - tomlkit `0.11.7` + - defusedxml `0.7.1` + - objprint `0.2.2` + - viztracer `0.15.6` + - vizplugins `0.1.3` + - nuitka `1.5.6` + - ordered-set `4.1.0` + - imageio `2.27.0` + - wheel `0.40.0` + - setuptools `67.6.1` + - setuptools-rust `1.5.2` + - `AMD R5 5600X` + - `AMD RX 550 4G` -## 需要的Python模块 +## 需要的 Python 模块 -- `rtoml` -- `tomlkit` -- `pyglet` (已经内置 V2.0.4 路径:`./libs/pyglet`) +- `pyglet` (已经内置 V2.0.5 路径:`./libs/pyglet`) - `xmltodict` (已经内置 V0.12.0 路径:`./libs/xmltodict`) - `pyperclip` (已经内置 V1.8.2 路径: `./libs/pyperclip`) -- `pillow` -- `defusedxml` -- `objprint` -- `psutil` + +```text +# this requirement is for +# DR basic running from source +# DR build (by nuitka) +# DR contributing + +# for images +pillow >= 9.5.0 + +# for sys info +psutil >= 5.9.5 + +# for files +rtoml >= 0.9.0 +tomlkit >= 0.11.7 +defusedxml >= 0.7.1 + +# for debug +objprint >= 0.2.2 +viztracer >= 0.15.6 +vizplugins >= 0.1.3 + +# for compile +nuitka >= 1.5.6 +ordered-set >= 4.1.0 +imageio >= 2.27.0 +wheel >= 0.40.0 +setuptools >= 67.6.1 +setuptools-rust >= 1.5.2 +``` ## 感谢 diff --git a/docs/README-en.md b/docs/README-en.md index f5821d3..9d3a28f 100644 --- a/docs/README-en.md +++ b/docs/README-en.md @@ -10,7 +10,7 @@ 996.icu [![Generic badge](https://img.shields.io/badge/SemVer-2.0.0-blue.svg)](https://Semver.org/) [![Generic badge](https://img.shields.io/badge/Write_with_Python-3.8.10-blue.svg)](https://Python.org) -[![Generic badge](https://img.shields.io/badge/Write_with_Pyglet-2.0.4-blue.svg)](https://pyglet.org) +[![Generic badge](https://img.shields.io/badge/Write_with_Pyglet-2.0.5-blue.svg)](https://pyglet.org) [![Generic badge](https://img.shields.io/badge/Python-_3.8_|_3.9_|_3.10_|_3.11_-blue.svg)](https://Python.org) ## Version @@ -40,29 +40,59 @@ ## Environment (been tested / developed on) - `Develop platform 1 - Windows 10 x64 22H2` - - `Python 3.8.10` - - `pillow 9.3.0` - - `pyperclip 1.8.2` - - `pyglet 2.0` - - `psutil 5.9.4` - - `objprint 0.2.2` - - `rtoml 0.9.0` - - `xmltodict 0.13.0` - - `tomlkit 0.11.6` + - pillow `9.5.0` + - psutil `5.9.5` + - rtoml `0.9.0` + - tomlkit `0.11.7` + - defusedxml `0.7.1` + - objprint `0.2.2` + - viztracer `0.15.6` + - vizplugins `0.1.3` + - nuitka `1.5.6` + - ordered-set `4.1.0` + - imageio `2.27.0` + - wheel `0.40.0` + - setuptools `67.6.1` + - setuptools-rust `1.5.2` - `AMD R5 5600X` - `AMD RX 550 4G` ## Required python modules -- `rtoml` -- `tomlkit` -- `pyglet` (pre-installed V2.0.4 path:`./libs/pyglet`) +- `pyglet` (pre-installed V2.0.5 path:`./libs/pyglet`) - `xmltodict` (pre-installed V0.12.0 path:`./libs/xmltodict`) - `pyperclip` (pre-installed V1.8.2 path: `./libs/pyperclip`) -- `pillow` -- `defusedxml` -- `objprint` -- `psutil` + +```text +# this requirement is for +# DR basic running from source +# DR build (by nuitka) +# DR contributing + +# for images +pillow >= 9.5.0 + +# for sys info +psutil >= 5.9.5 + +# for files +rtoml >= 0.9.0 +tomlkit >= 0.11.7 +defusedxml >= 0.7.1 + +# for debug +objprint >= 0.2.2 +viztracer >= 0.15.6 +vizplugins >= 0.1.3 + +# for compile +nuitka >= 1.5.6 +ordered-set >= 4.1.0 +imageio >= 2.27.0 +wheel >= 0.40.0 +setuptools >= 67.6.1 +setuptools-rust >= 1.5.2 +``` ## thanks to diff --git a/requirement-build.txt b/requirement-build.txt index 7a69046..0cf404a 100644 --- a/requirement-build.txt +++ b/requirement-build.txt @@ -2,28 +2,24 @@ # DR basic running from source # DR build (by nuitka) -# for phy simulation -# pymunk >= 6.4.0 -# no more needed use Rapier instead - # for images -pillow >= 9.4.0 +pillow >= 9.5.0 # for sys info -psutil >= 5.9.4 +psutil >= 5.9.5 # for files rtoml >= 0.9.0 -tomlkit >= 0.11.6 +tomlkit >= 0.11.7 defusedxml >= 0.7.1 # for report error objprint >= 0.2.2 # for compile -nuitka >= 1.4.8 +nuitka >= 1.5.6 ordered-set >= 4.1.0 -imageio >= 2.25.0 -wheel >= 0.38.4 -setuptools >= 67.2.0 +imageio >= 2.27.0 +wheel >= 0.40.0 +setuptools >= 67.6.1 setuptools-rust >= 1.5.2 diff --git a/requirement-dev.txt b/requirement-dev.txt index a95b554..e35ba51 100644 --- a/requirement-dev.txt +++ b/requirement-dev.txt @@ -3,19 +3,15 @@ # DR build (by nuitka) # DR contributing -# for phy simulation -# pymunk >= 6.4.0 -# no more needed use Rapier instead - # for images -pillow >= 9.4.0 +pillow >= 9.5.0 # for sys info -psutil >= 5.9.4 +psutil >= 5.9.5 # for files rtoml >= 0.9.0 -tomlkit >= 0.11.6 +tomlkit >= 0.11.7 defusedxml >= 0.7.1 # for debug @@ -24,9 +20,9 @@ viztracer >= 0.15.6 vizplugins >= 0.1.3 # for compile -nuitka >= 1.4.8 +nuitka >= 1.5.6 ordered-set >= 4.1.0 -imageio >= 2.25.0 -wheel >= 0.38.4 -setuptools >= 67.2.0 +imageio >= 2.27.0 +wheel >= 0.40.0 +setuptools >= 67.6.1 setuptools-rust >= 1.5.2 diff --git a/requirement.txt b/requirement.txt index 1319bfb..d45edc1 100644 --- a/requirement.txt +++ b/requirement.txt @@ -1,19 +1,15 @@ # this requirement is for # DR basic running from source -# for phy simulation -# pymunk >= 6.4.0 -# no more needed use Rapier instead - # for images -pillow >= 9.4.0 +pillow >= 9.5.0 # for sys info -psutil >= 5.9.4 +psutil >= 5.9.5 # for files rtoml >= 0.9.0 -tomlkit >= 0.11.6 +tomlkit >= 0.11.7 defusedxml >= 0.7.1 # for report error