mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 20:22:39 +08:00
Use environment markers to only install faulthandler in Python < 3.3. (#3764)
This commit is contained in:
committed by
Hao Chen
parent
1bb20badec
commit
19908c01b8
+1
-3
@@ -146,11 +146,9 @@ requires = [
|
||||
# The six module is required by pyarrow.
|
||||
"six >= 1.0.0",
|
||||
"flatbuffers",
|
||||
"faulthandler;python_version<'3.3'",
|
||||
]
|
||||
|
||||
if sys.version_info < (3, 0):
|
||||
requires.append("faulthandler")
|
||||
|
||||
setup(
|
||||
name="ray",
|
||||
version=find_version("ray", "__init__.py"),
|
||||
|
||||
Reference in New Issue
Block a user