From 547fecd794393f088a4fb830216cc28b65ac6ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Tue, 25 Jul 2023 13:12:22 -0700 Subject: [PATCH] DOC: use python -m pip (#249) --- .github/workflows/lint.yml | 4 ++-- spec-0004/index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f609fcbf..2acf52c5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,8 +19,8 @@ jobs: - name: Install packages run: | - pip install --upgrade pip - pip install -r requirements.txt + python -m pip install --upgrade pip + python -m pip install -r requirements.txt - name: Lint run: pre-commit run --all-files --show-diff-on-failure --color always diff --git a/spec-0004/index.md b/spec-0004/index.md index 50040a0b..bd9f208b 100644 --- a/spec-0004/index.md +++ b/spec-0004/index.md @@ -60,7 +60,7 @@ To install the nightly version of your dependencies check which of them are avai at https://anaconda.org/scientific-python-nightly-wheels/. For example to install the NumPy and scipy nightlies use: ``` -pip install --pre --upgrade --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy scipy +python -m pip install --pre --upgrade --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy scipy ``` Complete examples of how projects implement this in their CI setup are linked in the Notes section.