mirror of
https://github.com/wassname/ray.git
synced 2026-07-06 05:16:30 +08:00
install setproctitle from pypi instead of building from source
This commit is contained in:
+2
-1
@@ -143,6 +143,7 @@ install_requires = [
|
||||
"py-spy >= 0.2.0",
|
||||
"pyyaml",
|
||||
"requests",
|
||||
"setproctitle",
|
||||
"redis >= 3.5.0",
|
||||
"opencensus",
|
||||
"prometheus_client >= 0.7.1",
|
||||
@@ -270,7 +271,7 @@ def build(build_python, build_java):
|
||||
# that certain flags will not be passed along such as --user or sudo.
|
||||
# TODO(rkn): Fix this.
|
||||
if not os.getenv("SKIP_THIRDPARTY_INSTALL"):
|
||||
pip_packages = ["psutil", "setproctitle"]
|
||||
pip_packages = ["psutil"]
|
||||
subprocess.check_call(
|
||||
[
|
||||
sys.executable, "-m", "pip", "install", "-q",
|
||||
|
||||
Reference in New Issue
Block a user