update build version

This commit is contained in:
shenjack 2023-07-15 21:55:46 +08:00
parent 112f83b79b
commit a9b6422e89
Signed by: shenjack
GPG Key ID: 7B1134A979775551
3 changed files with 12 additions and 4 deletions

View File

@ -11,7 +11,7 @@ from pathlib import Path
from Difficult_Rocket.api.types import Options, Version
sdk_version = Version("0.8.5.2") # SDK 版本
build_version = Version("2.1.2.0") # 编译文件版本(与游戏本体无关)
build_version = Version("2.1.3.0") # 编译文件版本(与游戏本体无关)
Api_version = Version("0.1.1.0") # API 版本
__version__ = sdk_version

View File

@ -2,7 +2,14 @@
# DR 构建 更新日志
- 最新构建版本号
- build_version: 2.1.2.0
- build_version: 2.1.3.0
## 20230715 build 2.1.3.0
### 修改
- 添加 `email` `win32con` `smtplib` `win32evtlog` `win32evtlogutil` `win32api``--no-follow-import`
- Add `email`, `win32con`, `smtplib`, `win32evtlog`, `win32evtlogutil`, `win32api` to `--no-follow-import`
## 20230708 build 2.1.2.0

View File

@ -62,7 +62,8 @@ class CompilerHelper(Options):
icon_path: Path = Path('textures/icon.png')
follow_import: List[str] = ['pyglet']
no_follow_import: List[str] = ['objprint', 'pillow', 'PIL', 'cffi', 'pydoc', 'numpy']
no_follow_import: List[str] = ['objprint', 'pillow', 'PIL', 'cffi', 'pydoc', 'numpy', 'email', 'win32con',
'smtplib', 'win32evtlog', 'win32evtlogutil', 'win32api']
include_data_dir: List[Tuple[str, str]] = [('./libs/fonts', './libs/fonts'),
('./textures', './textures'),
@ -77,7 +78,7 @@ class CompilerHelper(Options):
if not self.compat_nuitka_version.accept(compat_version):
warnings.warn(
f"Nuitka version may not compat with {compat_version}\n"
"requirement: {self.compat_nuitka_version}"
f"requirement: {self.compat_nuitka_version}"
)
# 非 windows 平台不使用 msvc
if platform.system() != 'Windows':