mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
8 lines
377 B
Bash
Executable file
8 lines
377 B
Bash
Executable file
# NO shebang! Force the user to run this using the 'source' command without spawning a new shell; otherwise, variable exports won't persist.
|
|
|
|
echo "Adding Ray to PYTHONPATH" 1>&2
|
|
|
|
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
|
|
|
|
export GRPC_VERBOSITY=ERROR # make grpc only print error messages
|
|
export PYTHONPATH="$ROOT_DIR/lib/python/:$ROOT_DIR/thirdparty/numbuf/build"
|