This commit is contained in:
blueloveTH 2023-09-22 21:00:36 +08:00
parent 79ced5c636
commit 506e799866
2 changed files with 17 additions and 9 deletions

View File

@ -35,7 +35,7 @@ These platforms are officially tested.
+ macOS 64-bit
+ Android 64-bit / 32-bit
+ iOS 64-bit
+ WASM 32-bit
+ Emscripten 32-bit
## Quick Start
@ -47,8 +47,6 @@ These variables can be set to control the build process:
+ `PK_BUILD_STATIC_LIB` - Build the static library
+ `PK_BUILD_SHARED_LIB` - Build the shared library
If you are working with [Unity Engine](https://unity.com/), you can download our plugin [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120) on the Asset Store.
### Compile Flags
To compile it with your project, these flags must be set:

View File

@ -16,13 +16,23 @@ pocketpy是一个轻量级的Python解释器为嵌入至游戏引擎而设计
你可以 [在浏览器中体验](https://pocketpy.dev/static/web/) pocketpy 的交互式界面REPL
## 支持的平台
pkpy 支持任何拥有 C++17 编译器的平台。
以下平台由官方测试通过。
+ Windows 64-bit
+ Linux 64-bit / 32-bit
+ macOS 64-bit
+ Android 64-bit / 32-bit
+ iOS 64-bit
+ Emscripten 32-bit
## 快速上手
你可以在 [Github Release](https://github.com/blueloveTH/pocketpy/releases) 页面下载 `pocketpy.h`
并加入到你的工程中。请参阅 https://pocketpy.dev 以获取更详细的文档。
如果你使用 [Unity引擎](https://unity.com/)你可以在Asset Store下载我们的插件 [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120)。
```cpp
#include "pocketpy.h"