[tools] Cache python bytecode

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-11-14 08:20:29 +00:00
committed by Konstantin Pastbin
parent 2d275d9148
commit 4aa441101c
4 changed files with 1 additions and 13 deletions

View File

@@ -1,9 +1,6 @@
#!/usr/bin/env bash
set -e -u
# Prevent python from generating compiled *.pyc files
export PYTHONDONTWRITEBYTECODE=1
OMIM_PATH="${OMIM_PATH:-$(dirname "$0")/../..}"
DATA_PATH="${DATA_PATH:-$OMIM_PATH/data}"

View File

@@ -14,9 +14,6 @@ then
exit
fi
# Prevent python from generating compiled *.pyc files
export PYTHONDONTWRITEBYTECODE=1
# Add env var to disable renderer on a display (renderer not working into a Github container)
export QT_QPA_PLATFORM=offscreen

View File

@@ -1,9 +1,6 @@
#!/usr/bin/env bash
set -e -u
# Prevent python from generating compiled *.pyc files
export PYTHONDONTWRITEBYTECODE=1
DEBUG="${1:-empty}"
MY_PATH="`dirname \"$0\"`" # relative

View File

@@ -13,9 +13,6 @@ if ! command -v scour &> /dev/null; then
exit
fi
# Prevent python from generating compiled *.pyc files
export PYTHONDONTWRITEBYTECODE=1
OMIM_PATH="${OMIM_PATH:-$(cd "$(dirname "$0")/../.."; pwd)}"
echo "Started processing"