BLD Installs pytest in conda env
@@ -60,15 +60,16 @@ if [[ "$DISTRIB" == "conda" ]]; then
conda config --set restore_free_channel true
fi
+ make_conda $TO_INSTALL
+
if [[ "$PYTEST_VERSION" == "*" ]]; then
- pip install pytest
+ python -m pip install pytest
else
- pip install pytest=="$PYTEST_VERSION"
+ python -m pip install pytest=="$PYTEST_VERSION"
fi
- make_conda $TO_INSTALL
if [[ "$PYTHON_VERSION" == "*" ]]; then
- pip install pytest-xdist
+ python -m pip install pytest-xdist
fi
elif [[ "$DISTRIB" == "ubuntu" ]]; then
@@ -115,6 +116,6 @@ try:
except ImportError:
print('pandas not installed')
"
-pip list
+python -m pip list
python setup.py build_ext --inplace -j 3
python setup.py develop
