Sephiria inventory optimizer v0.1.0
- Slab catalog and effect handlers ported from WhiteDog1004/sephiria - Hill-climbing solver maximizes effect sum on slab-occupied cells - PIL renderer outputs PNG with effects overlay; downloads + caches slab images from img.sephiria.wiki on demand - Tkinter GUI for picking slabs by tier; CLI also available - Screenshot recognizer (template matching, beta) - build.bat / build.sh for portable single-file builds via PyInstaller
This commit is contained in:
24
build.sh
Executable file
24
build.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build a Linux single-file binary for local testing.
|
||||
# For a Windows .exe run build.bat on Windows.
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
python3 -m venv .venv 2>/dev/null || true
|
||||
# shellcheck disable=SC1091
|
||||
source .venv/bin/activate || true
|
||||
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install -r requirements.txt
|
||||
python3 -m pip install pyinstaller
|
||||
|
||||
pyinstaller \
|
||||
--onefile \
|
||||
--name sephiria_inv \
|
||||
--collect-submodules sephiria_inv \
|
||||
-p . \
|
||||
run.py
|
||||
|
||||
echo
|
||||
echo "Build done. Output: dist/sephiria_inv"
|
||||
Reference in New Issue
Block a user