Skip to content

Commit

Permalink
run.sh: Fix building Pillow on MINGW
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Dec 21, 2024
1 parent 9adf0a5 commit dddbdc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ clean_venv_run() {
python -m venv .venv
source .venv/bin/activate
# python -m pip install -U pip
# Necessary for Windows if compiling things like Pillow
export CFLAGS="-I/mingw64/include"
# export LDFLAGS="-L/mingw64/lib"
pip install -r requirements.txt -r requirements_devel.txt build
python -m compile_translations
python -m build --wheel
Expand Down

0 comments on commit dddbdc1

Please sign in to comment.