Skip to content

Commit

Permalink
Install pyerfa for astropy dev
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jul 10, 2020
1 parent 849a36b commit 3a75aa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions appveyor/install-miniconda.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,11 @@ if ($env:NUMPY_VERSION -match "dev") {
checkLastExitCode
}

# TODO: Use conda to install pyerfa when it is available.
# Check whether the developer version of Astropy is required and if yes install
# it. We need to include --no-deps to make sure that Numpy doesn't get upgraded.
if ($env:ASTROPY_VERSION -match "dev") {
Invoke-Expression "${env:CMD_IN_ENV} pip install pyerfa --upgrade --no-deps"
Invoke-Expression "${env:CMD_IN_ENV} pip install git+https://github.com/astropy/astropy.git#egg=astropy --upgrade --no-deps"
checkLastExitCode
}
Expand Down
2 changes: 1 addition & 1 deletion travis/setup_dependencies_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ fi
# sure that Numpy doesn't get upgraded.

if [[ $ASTROPY_VERSION == dev* ]]; then
$PIP_INSTALL Cython jinja2 pytest-astropy
$PIP_INSTALL Cython jinja2 pytest-astropy pyerfa
$PIP_INSTALL git+https://github.com/astropy/astropy.git#egg=astropy --upgrade --no-deps
fi

Expand Down

0 comments on commit 3a75aa4

Please sign in to comment.