mirror of
https://github.com/pocketpy/pocketpy
synced 2026-08-05 05:37:10 +08:00
bump to v2.2.0
This commit is contained in:
parent
4e2b40db2d
commit
beb1557d00
14
README.md
14
README.md
@ -195,6 +195,7 @@ And these are the results of the primes benchmark on Intel i5-12400F, WSL (Ubunt
|
||||
|
||||
| | Description |
|
||||
|-----------------------------------------------------------------|--------------------------------------------------------------------------|
|
||||
| [Tesselmax.EM](https://fdtd.io) | Distributed electromagnetic field simulator for silicon photonics and RF/interconnect design. |
|
||||
| [godot-pocketpy](https://github.com/pocketpy/godot-pocketpy) | Godot extension for using pocketpy in Godot Engine. |
|
||||
| [TIC-80](https://github.com/nesbox/TIC-80) | TIC-80 is a fantasy computer for making, playing and sharing tiny games. |
|
||||
| [py-js](https://github.com/shakfu/py-js) | Python3 externals for Max / MSP. |
|
||||
@ -215,7 +216,7 @@ All kinds of contributions are welcome. Please read [CONTRIBUTING.md](CONTRIBUTI
|
||||
- any suggestions
|
||||
- any questions
|
||||
|
||||
If you find pkpy useful, consider star this repository (●'◡'●)
|
||||
If you find pkpy useful, consider star this repository.
|
||||
|
||||
## Sponsor this project
|
||||
|
||||
@ -226,6 +227,17 @@ You can sponsor this project via these ways.
|
||||
|
||||
Your sponsorship will help us develop pkpy continuously.
|
||||
|
||||
## Premium Supporter
|
||||
|
||||
Special thanks to our premium supporter, Tesselmax, for sponsoring the development of pocketpy.
|
||||
|
||||
Tesselmax builds Tesselmax.EM, a distributed electromagnetic field simulator for silicon
|
||||
photonics and RF/interconnect design (FDTD, FDFD, and mode solving across GPU clusters).
|
||||
Tesselmax embeds pocketpy as the scripting engine in our simulation console, so user scripts drive
|
||||
geometry, materials, sources, and post-processing.
|
||||
|
||||
Website: [https://fdtd.io](https://fdtd.io)
|
||||
|
||||
## Reference
|
||||
|
||||
+ [cpython](https://github.com/python/cpython)
|
||||
|
||||
@ -51,7 +51,7 @@ On Windows platform, only MSVC compiler is officially supported.
|
||||
|
||||
## Star the repo
|
||||
|
||||
If you find pkpy useful, consider [star this repository](https://github.com/blueloveth/pocketpy) (●'◡'●)
|
||||
If you find pkpy useful, consider [star this repository](https://github.com/blueloveth/pocketpy).
|
||||
|
||||
## Sponsor this project
|
||||
|
||||
@ -62,6 +62,17 @@ You can sponsor this project via these ways.
|
||||
|
||||
Your sponsorship will help us develop pkpy continuously.
|
||||
|
||||
## Premium Supporter
|
||||
|
||||
Special thanks to our premium supporter, Tesselmax, for sponsoring the development of pocketpy.
|
||||
|
||||
Tesselmax builds Tesselmax.EM, a distributed electromagnetic field simulator for silicon
|
||||
photonics and RF/interconnect design (FDTD, FDFD, and mode solving across GPU clusters).
|
||||
Tesselmax embeds pocketpy as the scripting engine in our simulation console, so user scripts drive
|
||||
geometry, materials, sources, and post-processing.
|
||||
|
||||
Website: [https://fdtd.io](https://fdtd.io)
|
||||
|
||||
## Upgrade to v2.0
|
||||
|
||||
pkpy v2.0 is a C11 project instead of C++17. All your existing code for v1.x won't work anymore.
|
||||
|
||||
@ -3,7 +3,7 @@ output: .retype
|
||||
url: https://pocketpy.dev
|
||||
branding:
|
||||
title: pocketpy
|
||||
label: v2.1.9
|
||||
label: v2.2.0
|
||||
logo: "./static/logo.png"
|
||||
favicon: "./static/logo.png"
|
||||
meta:
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
#pragma once
|
||||
// clang-format off
|
||||
|
||||
#define PK_VERSION "2.1.9"
|
||||
#define PK_VERSION "2.2.0"
|
||||
#define PK_VERSION_MAJOR 2
|
||||
#define PK_VERSION_MINOR 1
|
||||
#define PK_VERSION_PATCH 9
|
||||
#define PK_VERSION_MINOR 2
|
||||
#define PK_VERSION_PATCH 0
|
||||
|
||||
/*************** feature settings ***************/
|
||||
#ifndef PK_ENABLE_OS // can be overridden by cmake
|
||||
|
||||
@ -35,7 +35,7 @@ A new Flutter FFI plugin project.
|
||||
|
||||
s.prepare_command = <<-CMD
|
||||
rm -rf pocketpy
|
||||
git clone --branch v2.1.9 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
git clone --branch v2.2.0 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
cd pocketpy
|
||||
git submodule update --init --recursive --depth 1
|
||||
bash build_ios_libs.sh
|
||||
|
||||
@ -32,7 +32,7 @@ A new Flutter FFI plugin project.
|
||||
|
||||
s.prepare_command = <<-CMD
|
||||
rm -rf pocketpy
|
||||
git clone --branch v2.1.9 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
git clone --branch v2.2.0 --depth 1 https://github.com/pocketpy/pocketpy.git
|
||||
cd pocketpy
|
||||
git submodule update --init --recursive --depth 1
|
||||
bash build_darwin_libs.sh
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
name: pocketpy
|
||||
description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS.
|
||||
version: 2.1.9
|
||||
version: 2.2.0
|
||||
homepage: https://pocketpy.dev
|
||||
repository: https://github.com/pocketpy/pocketpy
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ set(PK_BUILD_SHARED_LIB ON CACHE BOOL "" FORCE)
|
||||
FetchContent_Declare(
|
||||
pocketpy
|
||||
GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git
|
||||
GIT_TAG v2.1.9
|
||||
GIT_TAG v2.2.0
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(pocketpy)
|
||||
|
||||
@ -5,8 +5,8 @@
|
||||
// Magic number for CodeObject serialization: "CO" = 0x434F
|
||||
#define CODEOBJECT_MAGIC 0x434F
|
||||
#define CODEOBJECT_VER_MAJOR 1
|
||||
#define CODEOBJECT_VER_MINOR 0
|
||||
#define CODEOBJECT_VER_MINOR_MIN 0
|
||||
#define CODEOBJECT_VER_MINOR 1
|
||||
#define CODEOBJECT_VER_MINOR_MIN 1
|
||||
|
||||
// Forward declarations
|
||||
static void FuncDecl__serialize(c11_serializer* s,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user