mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
79ced5c636
commit
506e799866
@ -35,7 +35,7 @@ These platforms are officially tested.
|
|||||||
+ macOS 64-bit
|
+ macOS 64-bit
|
||||||
+ Android 64-bit / 32-bit
|
+ Android 64-bit / 32-bit
|
||||||
+ iOS 64-bit
|
+ iOS 64-bit
|
||||||
+ WASM 32-bit
|
+ Emscripten 32-bit
|
||||||
|
|
||||||
## Quick Start
|
## 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_STATIC_LIB` - Build the static library
|
||||||
+ `PK_BUILD_SHARED_LIB` - Build the shared 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
|
### Compile Flags
|
||||||
|
|
||||||
To compile it with your project, these flags must be set:
|
To compile it with your project, these flags must be set:
|
||||||
|
14
README_zh.md
14
README_zh.md
@ -16,13 +16,23 @@ pocketpy是一个轻量级的Python解释器,为嵌入至游戏引擎而设计
|
|||||||
|
|
||||||
你可以 [在浏览器中体验](https://pocketpy.dev/static/web/) pocketpy 的交互式界面(REPL)。
|
你可以 [在浏览器中体验](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`,
|
你可以在 [Github Release](https://github.com/blueloveTH/pocketpy/releases) 页面下载 `pocketpy.h`,
|
||||||
并加入到你的工程中。请参阅 https://pocketpy.dev 以获取更详细的文档。
|
并加入到你的工程中。请参阅 https://pocketpy.dev 以获取更详细的文档。
|
||||||
|
|
||||||
如果你使用 [Unity引擎](https://unity.com/),你可以在Asset Store下载我们的插件 [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120)。
|
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
#include "pocketpy.h"
|
#include "pocketpy.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user