Skip to content

Commit

Permalink
Merge pull request #2 from methodsanalytics/bugfix/AIDT-1--dual-opera…
Browse files Browse the repository at this point in the history
…ting-system

AIDT-1 - Fixes issue causing MacOS install to fail
  • Loading branch information
ChrisMcCarthyDev authored Oct 26, 2022
2 parents 5645dca + 43de01e commit 98dcd39
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _ray_3_beta_rllib_py_platform_pip_install() -> str:
(3, 9): "/ray-3.0.0.dev0-cp39-cp39-manylinux2014_x86_64.whl",
(3, 10): "/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl",
},
"darmin": { # MacOSX
"darwin": { # MacOSX
(3, 8): "/ray-3.0.0.dev0-cp38-cp38-macosx_10_15_x86_64.whl",
(3, 9): "/ray-3.0.0.dev0-cp39-cp39-macosx_10_15_x86_64.whl",
(3, 10): "/ray-3.0.0.dev0-cp310-cp310-macosx_10_15_universal2.whl",
Expand All @@ -48,15 +48,14 @@ def _ray_3_beta_rllib_py_platform_pip_install() -> str:
# Python version not supported
raise EnvironmentError(
f"yawningtitan with ray on {sys.platform} is only supported "
f"by Python version 3.8.*, 3.9.*, and 3.10.*, currently using "
f"by Python versions 3.8.*, 3.9.*, and 3.10.*, currently using "
f"python version {py_v.major}.{py_v.minor}.{py_v.micro}"
)
else:
# OS not supported
raise EnvironmentError(
f"yawningtitan with ray on {sys.platform} is only supported "
f"by Python version 3.8.*, 3.9.*, and 3.10.*, currently using "
f"{sys.platform}"
f"yawningtitan with ray is only supported by Linux (linux), Windows (win32),"
f" and MacOS (darwin), currently using {sys.platform}"
)


Expand Down

0 comments on commit 98dcd39

Please sign in to comment.