Python CLI backend, Electron HTML frontend
backend_cli.py -> main.js -> index.html -> pea.exe
The backend stage can include external Python & C libraries
The html stage can include other Node.js packages
use PyInstaller to compile backend_cli.py into backend_cli.exe
retarget main.js at backend_cli.exe, rather than the main python script
build pea.exe with Electron Packager
(for developers) retarget main.js back at the backend_cli.py
Build scripts are not yet fully implemented / tested
backend_cli -> single .exe is complete
retargetting main.js at backend_cli has yet to be implemented
how the electron app will use the backend_cli has not yet been determined
npm start(with venv active) targets Python 2.7
- Github Actions
buildscript triggered on commit & release - Tests for source and compiled builds
- Test assets for packaging
Pythonextensions (e.g.pygltflib)Node.jsextensions (e.g.THREE.js)- Compress release to make it as small as a pea