Skip to content

Commit

Permalink
Don't add ray-cpp wheel to extras by default (ray-project#18251)
Browse files Browse the repository at this point in the history
  • Loading branch information
SongGuyang authored Sep 10, 2021
1 parent ae689ec commit 03a2c69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,11 @@ def get_packages(self):
"opentelemetry-api==1.1.0", "opentelemetry-sdk==1.1.0",
"opentelemetry-exporter-otlp==1.1.0"
],
"cpp": ["ray-cpp==" + setup_spec.version]
}

if os.getenv("RAY_EXTRA_CPP") == "1":
setup_spec.extras["cpp"] = ["ray-cpp==" + setup_spec.version]

if sys.version_info >= (3, 7, 0):
setup_spec.extras["k8s"].append("kopf")

Expand Down

0 comments on commit 03a2c69

Please sign in to comment.