diff --git a/example/app.py b/example/app.py index cfec70b..5d78686 100644 --- a/example/app.py +++ b/example/app.py @@ -1,3 +1,13 @@ +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "glfw", +# "numpy", +# "pyopengl", +# "requests", +# "slimgui", +# ] +# /// import logging import os from dataclasses import dataclass diff --git a/example/standalone_glfw.py b/example/standalone_glfw.py index 8c91e3b..ac03919 100644 --- a/example/standalone_glfw.py +++ b/example/standalone_glfw.py @@ -1,3 +1,13 @@ +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "glfw", +# "numpy", +# "pyopengl", +# "requests", +# "slimgui", +# ] +# /// import os import glfw diff --git a/example/standalone_pyglet.py b/example/standalone_pyglet.py index aef1f03..f497e07 100644 --- a/example/standalone_pyglet.py +++ b/example/standalone_pyglet.py @@ -1,3 +1,14 @@ +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "glfw", +# "numpy", +# "pyglet", +# "pyopengl", +# "requests", +# "slimgui", +# ] +# /// """ Very much beta quality Pyglet example. Probably buggy but should be a useful starting point.