Skip to content

Commit c168fbb

Browse files
committed
Switch from 'pip ...' to 'python -m pip ...' in CircleCI
1 parent d3b4674 commit c168fbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
- run:
3636
name: Python and RST checks
3737
command: |
38-
pip install --upgrade pip setuptools
39-
pip install black
38+
python -m pip install --upgrade pip setuptools
39+
python -m pip install black
4040
black --check .
4141
# pydocstyle==4.0.0 broke flake8-docstrings https://gitlab.com/pycqa/flake8-docstrings/issues/36
42-
pip install flake8==3.6 flake8-blind-except "pydocstyle<4.0.0" flake8-docstrings flake8-rst-docstrings restructuredtext-lint flake8-bugbear pygments
42+
python -m pip install flake8==3.6 flake8-blind-except "pydocstyle<4.0.0" flake8-docstrings flake8-rst-docstrings restructuredtext-lint flake8-bugbear pygments
4343
flake8 .
4444
restructuredtext-lint *.rst database/*.rst tests/*/*.rst
4545
- run:
@@ -57,7 +57,7 @@ jobs:
5757
echo "Building a wheel..."
5858
python setup.py bdist_wheel
5959
echo "Installing our wheel..."
60-
pip install dist/thapbi_pict-*.whl
60+
python -m pip install dist/thapbi_pict-*.whl
6161
- run:
6262
name: Test
6363
command: |

0 commit comments

Comments
 (0)