No need to install backend build deps when building the front-end, and vice versa. The build scripts (build_spark.cmd, build_sparkd.sh, etc.) automatically install only the necessary requirements now. Note: We'll keep the monolith requirements.txt file around (at least for now), as it includes more than just build deps (e.g., numpy, pandas, and jupyter for data analysis; pybit for bybit plugins, etc.).
6 lines
273 B
Bash
Executable File
6 lines
273 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
tools_path=$(dirname $(readlink -f $0))
|
|
eval "$tools_path/ensure_venv.sh -r $tools_path/py/requirements-spark.txt" 1> /dev/stdout 2> /dev/stderr
|
|
eval "$tools_path/venv_exec.sh python $tools_path/py/build_api_server.py $@" 1> /dev/stdout 2> /dev/stderr
|