Thank you for your interest in contributing to pocketpy.
clang or gccgit clone --recursive https://github.com/pocketpy/pocketpy.git
cd pocketpy
A standard local build:
python cmake_build.py Release
A build with optional modules (same style as CI):
python cmake_build.py Release -DPK_BUILD_MODULE_LZ4=ON -DPK_BUILD_MODULE_CUTE_PNG=ON -DPK_BUILD_MODULE_MSGPACK=ON
Build outputs are copied to the repository root (main, and libpocketpy.so/pocketpy.dll/libpocketpy.dylib when available).
Run unit tests:
python scripts/run_tests.py
Run benchmarks:
python scripts/run_tests.py benchmark
On Linux, you can run the existing coverage script:
bash run_tests.sh
python cmake_build.py and bash run_tests.sh run python prebuild.py automatically.If you edit files under python/, regenerate embedded sources with:
python prebuild.py