Skip to content

fastplotlib/nuitka-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nuitka-minimal

minimal example that compiles with nuitka

Steps

  1. Install required apt package:
sudo apt install patchelf
  1. Create a light environment with only the required dependencies:
python3 -m venv ~/venvs/fpl-lite
pip install -r requirements.txt

Build:

nuitka --standalone --include-package-data=imgui_bundle --include-package-data=pygfx --include-package-data=cmap --include-package=cmap.data --include-package-data=wgpu --include-package=wgpu.resources --include-package-data=wgpu.resources main.py

I will admit I found claude useful for playing wack-a-mole with the nuitka build system (one of the few things I think LLMs useful for 😆). If we continue to use this I should see if there's a proper or automated way to get the package data stuff.

About

minimal example that compiles with nuitka

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages