mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[tools] Cache python bytecode
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
committed by
Konstantin Pastbin
parent
2d275d9148
commit
4aa441101c
@@ -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}"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user