mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 01:57:09 +08:00
9 lines
377 B
Bash
Executable File
9 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"
|