Skip to content

Commit a5b1982

Browse files
committed
Experimental--make sure the correct pip (i.e. the one installed in miniconda) is used
1 parent 3cdab87 commit a5b1982

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.continuous-integration/travis/setup_dependencies_common.sh‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313
# PEP8
1414
if [[ $MAIN_CMD == pep8* ]]
1515
then
16-
pip install pep8
16+
python -m pip install pep8
1717
return # no more dependencies needed
1818
fi
1919

@@ -23,7 +23,7 @@ conda install --yes pytest Cython jinja2 psutil
2323
# NUMPY
2424
if [[ $NUMPY_VERSION == dev ]]
2525
then
26-
pip install git+http://github.com/numpy/numpy.git
26+
python -m pip install git+http://github.com/numpy/numpy.git
2727
export CONDA_INSTALL="conda install --yes python=$PYTHON_VERSION"
2828
else
2929
conda install --yes numpy=$NUMPY_VERSION
@@ -37,7 +37,7 @@ fi
3737
if $OPTIONAL_DEPS
3838
then
3939
$CONDA_INSTALL scipy h5py matplotlib pyyaml scikit-image pandas
40-
pip install beautifulsoup4
40+
python -m pip install beautifulsoup4
4141
fi
4242

4343
# DOCUMENTATION DEPENDENCIES
@@ -47,7 +47,7 @@ fi
4747
if [[ $SETUP_CMD == build_sphinx* ]]
4848
then
4949
$CONDA_INSTALL Sphinx=1.2.2 Pygments matplotlib
50-
pip install wcsaxes
50+
python -m pip install wcsaxes
5151
fi
5252

5353
# COVERAGE DEPENDENCIES
@@ -56,6 +56,6 @@ fi
5656
# the script installed by 'coveralls', unless it's installed first.
5757
if [[ $SETUP_CMD == 'test --coverage' ]]
5858
then
59-
pip install cpp-coveralls;
60-
pip install coverage coveralls;
59+
python -m pip install cpp-coveralls;
60+
python -m pip install coverage coveralls;
6161
fi

0 commit comments

Comments
 (0)