Skip to content

Run from source the way the other LEAPPs do - #11

Merged
abrignoni merged 1 commit into
mainfrom
feat/run-from-source
Sep 3, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/run-from-source

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Makes running GLEAPP from source match the other LEAPPs: clone, venv, pip install -r requirements.txt, python gleapp.py web.

  • whl_files/ vendors the Windows x64 pyliblzfse wheels with iLEAPP's environment markers, so Windows never needs a C compiler. Four are PyPI's own files, verified against its digests; cp314 comes from iLEAPP since PyPI has none. whl_files/README.md records each origin and sha256. Linux, Windows on ARM and Python 3.14 on macOS still compile from the sdist, the same line iLEAPP holds.
  • gleapp.py and gleappGUI.py root shims, matching python ileapp.py and python ileappGUI.py.
  • README install section in the LEAPP shape, stating which setups need a compiler and why.

gleapp.py shares the package's name. Runtime is fine, Python prefers the package, but pylint handed that file registers it as module gleapp and every co-linted from gleapp.x import y breaks, 58 false warnings measured on an untouched test file. tools/lint_changed.py now drops such launchers from its set.

🤖 Generated with Claude Code

pip install -r requirements.txt failed outright on any machine without a C
compiler, because pyliblzfse publishes wheels for Windows x64 and macOS on
Python 3.10 to 3.13 only, none for 3.14 anywhere, and none for Linux ever.
It is a hard requirement that exists for one narrow decoder, Apple's
LZFSE-compressed GPU textures.

Vendors the Windows x64 wheels in whl_files/ with the same environment
markers iLEAPP uses, so Windows never needs a compiler. cp310 to cp313 are
PyPI's own release files and verify against its published digests; cp314
is copied from iLEAPP since PyPI has none. Everything the markers do not
match still compiles from the sdist. whl_files/README.md records the
origin and sha256 of each.

Adds gleapp.py and gleappGUI.py at the repo root so python gleapp.py web
and python gleappGUI.py match python ileapp.py and python ileappGUI.py.
They are three-line shims over the same entry points as the console
scripts.

gleapp.py shares the package's name. Python resolves the package first,
so runtime is unaffected, but pylint handed the file registers it as
module gleapp for the run and every co-linted from gleapp.x import y then
fails to resolve: 58 false no-name-in-module warnings on an untouched test
file, and pylint: skip-file does not prevent it. tools/lint_changed.py now
drops root launchers that share a package name from the set it lints.

The README install section follows the LEAPP shape and states which setups
still need a compiler and why.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@abrignoni
abrignoni merged commit 63bbc2c into main Sep 3, 2026
8 checks passed
@abrignoni
abrignoni deleted the feat/run-from-source branch September 3, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant