forked from modin-project/modin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set Ray dependency to 0.5.2 (modin-project#78)
* Set ray dependency to 0.5.2 * Let travis install from pip * Update install-dependencies.sh * Update install-dependencies.sh * Update install-dependencies.sh * Update install-dependencies.sh * Update install-dependencies.sh * Update install-dependencies.sh * Ran yapf
- Loading branch information
1 parent
ec7a429
commit cd965ae
Showing
9 changed files
with
56 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd) | ||
|
||
echo "PYTHON is $PYTHON" | ||
|
||
platform="unknown" | ||
unamestr="$(uname)" | ||
if [[ "$unamestr" == "Linux" ]]; then | ||
echo "Platform is linux." | ||
platform="linux" | ||
elif [[ "$unamestr" == "Darwin" ]]; then | ||
echo "Platform is macosx." | ||
platform="macosx" | ||
else | ||
echo "Unrecognized platform." | ||
exit 1 | ||
fi | ||
|
||
if [[ "$PYTHON" == "2.7" ]] && [[ "$platform" == "linux" ]]; then | ||
# Install miniconda. | ||
if [[ "$PYTHON" == "2.7" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh -nv | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
pip install -q pandas==0.22 feather-format lxml openpyxl xlrd | ||
# Install ray from its latest wheels | ||
pip install -q -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp27-cp27mu-manylinux1_x86_64.whl | ||
elif [[ "$PYTHON" == "3.6" ]] && [[ "$platform" == "linux" ]]; then | ||
# Install miniconda. | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh -nv | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
pip install -q pandas==0.22 feather-format lxml openpyxl xlrd | ||
# Install ray from its latest wheels | ||
pip install -q -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp36-cp36m-manylinux1_x86_64.whl | ||
elif [[ "$PYTHON" == "2.7" ]] && [[ "$platform" == "macosx" ]]; then | ||
# Install miniconda. | ||
wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh -nv | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
pip install -q pandas==0.22 feather-format lxml openpyxl xlrd | ||
# Install ray from its latest wheels | ||
pip install -q -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp27-cp27m-macosx_10_6_intel.whl | ||
elif [[ "$PYTHON" == "3.6" ]] && [[ "$platform" == "macosx" ]]; then | ||
# Install miniconda. | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh -nv | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
pip install -q pandas==0.22 feather-format lxml openpyxl xlrd | ||
# Install ray from its latest wheels | ||
pip install -q -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp36-cp36m-macosx_10_6_intel.whl | ||
elif [[ "$LINT" == "1" ]]; then | ||
# Install miniconda. | ||
|
||
elif [[ "$PYTHON" == "3.6" ]] || [[ "$LINT" == "1" ]]; then | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh -nv | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
# Install Python linting tools. | ||
pip install -q flake8 flake8-comprehensions yapf | ||
else | ||
echo "Unrecognized environment." | ||
exit 1 | ||
conda install -y python==3.6.5 | ||
fi | ||
|
||
pip install -r requirements.txt | ||
pip install -q pytest flake8 flake8-comprehensions yapf feather-format lxml openpyxl xlrd numpy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,2 @@ | ||
pandas==0.22 | ||
# Install Ray from latest wheels | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp27-cp27mu-manylinux1_x86_64.whl ; sys_platform == "linux2" and python_version == "2.7" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp33-cp33m-manylinux1_x86_64.whl ; sys_platform == "linux" and python_version == "3.3" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp34-cp34m-manylinux1_x86_64.whl ; sys_platform == "linux" and python_version == "3.4" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp35-cp35m-manylinux1_x86_64.whl ; sys_platform == "linux" and python_version == "3.5" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp36-cp36m-manylinux1_x86_64.whl ; sys_platform == "linux" and python_version == "3.6" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp27-cp27m-macosx_10_6_intel.whl ; sys_platform == "darwin" and python_version == "2.7" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp34-cp34m-macosx_10_6_intel.whl ; sys_platform == "darwin" and python_version == "3.4" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp35-cp35m-macosx_10_6_intel.whl ; sys_platform == "darwin" and python_version == "3.5" | ||
https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp36-cp36m-macosx_10_6_intel.whl ; sys_platform == "darwin" and python_version == "3.6" | ||
ray==0.5.2 |