lovepack
lovepack packages LÖVE projects into .love archives and standalone builds.
Configuration
Initialize a project with a lovepack project.toml, .loveignore, and a
complete generated conf.lua:
lovepack init
Inspect or update lovepack settings using dotted keys. Values are parsed as TOML, so booleans, numbers, arrays, and quoted strings are supported:
lovepack config show
lovepack config set build.compile_bytecode true
lovepack config set build.lua_compiler luajit --string
lovepack config get build.compile_bytecode
lovepack config unset build.lua_compiler
Build-only settings belong under [build]. Lua bytecode compilation is
disabled by default. When enabled, lovepack uses a local LuaJIT executable and
its -b mode, which produces bytecode compatible with Love2D:
[build]
compile_bytecode = true
lua_compiler = "luajit"
generate_conf_lua = true
overwrite_conf_lua = false
Love2D runtime settings belong in your own conf.lua. lovepack init creates
a complete file containing every documented LÖVE 11.5 root, audio, window, and
module option if it is missing. Packaging preserves an existing conf.lua by
default; set build.overwrite_conf_lua = true to replace it with the generated
complete file. Set build.generate_conf_lua = false to disable generation when
no conf.lua exists.
project.toml is a lovepack build manifest, not a Love2D runtime configuration
file. Bytecode is written into the archive under the same .lua paths, which
keeps require and main.lua resolution compatible.
Build Commands
Remove generated Love2D builds, wheel distributions, and Python cache folders:
poetry run lovepack clean
On Windows, release.bat runs clean, builds the current wheel, and
force-reinstalls it into the active pip environment:
.\release.bat
For a globally available command without publishing a package, install this checkout in editable mode:
py -m pip install --user --editable C:\path\to\lovepack
lovepack build
Release files for lovepack 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lovepack-0.3.0.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lovepack-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / lovepack-0.3.0.tar.gz
| Download URL | lovepack-0.3.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a4881006cba4a0861feb5c0fbe6f9db408a128d9f9b44c64d9767b6e35cf209
|
|
BLAKE2b-256 checksum How to use checksums |
048e6c8c9b11584ecc903bb9235513020a08188d19e52279d164ffdb6767edf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.7 Windows/10
|
Release files / lovepack-0.3.0-py3-none-any.whl
| Download URL | lovepack-0.3.0-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f93b53255ca397362d1aa4c7e87611f5807ff2c71951a7edaac25208ea7b9453
|
|
BLAKE2b-256 checksum How to use checksums |
eb346d0dd4de62a0e9caeeba5c80bf7795ca4965efad4669c10449fbae0d0f66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.7 Windows/10
|