A proof of concept of using hot reload with the raylib library in Python.
- uv: A tool to manage Python projects. (https://github.com/astral-sh/uv)
- jurigged: A tool for hot reloading code. (https://github.com/breuleux/jurigged)
- raylib: A library for making video games. (https://www.raylib.com/)
- raylib-python: A way to use raylib with Python. (https://electronstudio.github.io/raylib-python-cffi/)
- pyinstaller: A tool to create .exe files. (https://pyinstaller.org/en/stable/)
-
Create a virtual environment:
uv venv
-
Activate the virtual environment:
.venv\Scripts\activate
-
Deactivate the virtual environment: (Run this in the same terminal after activating)
.venv\Scripts\deactivate
install: Installs the necessary tools and creates the virtual environment.freeze: Creates a list of required packages.dev: Runs the project during development.build: Creates an .exe file.exe: Runs the .exe file created bybuild.aider: Use an AI chatbot (optional).