mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 21:38:18 +08:00
fix py3 (#3382)
This commit is contained in:
committed by
Philipp Moritz
parent
b9ae5edf74
commit
41b6b50d09
+18
-14
@@ -131,6 +131,23 @@ def find_version(*filepath):
|
||||
raise RuntimeError("Unable to find version string.")
|
||||
|
||||
|
||||
requires = [
|
||||
"numpy",
|
||||
"funcsigs",
|
||||
"click",
|
||||
"colorama",
|
||||
"pytest",
|
||||
"pyyaml",
|
||||
"redis~=2.10.6",
|
||||
"setproctitle",
|
||||
# The six module is required by pyarrow.
|
||||
"six >= 1.0.0",
|
||||
"flatbuffers",
|
||||
]
|
||||
|
||||
if sys.version_info < (3, 0):
|
||||
requires.append("faulthandler")
|
||||
|
||||
setup(
|
||||
name="ray",
|
||||
version=find_version("ray", "__init__.py"),
|
||||
@@ -144,20 +161,7 @@ setup(
|
||||
cmdclass={"build_ext": build_ext},
|
||||
# The BinaryDistribution argument triggers build_ext.
|
||||
distclass=BinaryDistribution,
|
||||
install_requires=[
|
||||
"numpy",
|
||||
"funcsigs",
|
||||
"click",
|
||||
"colorama",
|
||||
"pytest",
|
||||
"pyyaml",
|
||||
"redis~=2.10.6",
|
||||
"faulthandler;python_version<'3'",
|
||||
"setproctitle",
|
||||
# The six module is required by pyarrow.
|
||||
"six >= 1.0.0",
|
||||
"flatbuffers"
|
||||
],
|
||||
install_requires=requires,
|
||||
setup_requires=["cython >= 0.27, < 0.28"],
|
||||
extras_require=extras,
|
||||
entry_points={
|
||||
|
||||
Reference in New Issue
Block a user