Skip to content

Commit a1ecd5e

Browse files
chryslebhrutledge
andauthored
Replaced python interpreter with python3 (pypa#1214)
Co-authored-by: Brian Rutledge <[email protected]>
1 parent 9b0df69 commit a1ecd5e

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

source/guides/analyzing-pypi-package-downloads.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Install `pypinfo`_ using pip.
311311

312312
.. code-block:: bash
313313
314-
python -m pip install pypinfo
314+
python3 -m pip install pypinfo
315315
316316
Usage:
317317

source/guides/distributing-packages-using-setuptools.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ sample project <https://github.com/pypa/sampleproject>`_.
7272

7373
2. It's the command line interface for running various commands that
7474
relate to packaging tasks. To get a listing of available commands, run
75-
``python setup.py --help-commands``.
75+
``python3 setup.py --help-commands``.
7676

7777

7878
setup.cfg
@@ -677,7 +677,7 @@ Change directory to the root of the project directory and run:
677677

678678
.. code-block:: bash
679679
680-
python -m pip install -e .
680+
python3 -m pip install -e .
681681
682682
683683
The pip command-line flag ``-e`` is short for ``--editable``, and ``.`` refers
@@ -712,7 +712,7 @@ Lastly, if you don't want to install any dependencies at all, you can run:
712712

713713
.. code-block:: bash
714714
715-
python -m pip install -e . --no-deps
715+
python3 -m pip install -e . --no-deps
716716
717717
718718
For more information, see the
@@ -812,7 +812,7 @@ To build the wheel:
812812

813813
.. code-block:: bash
814814
815-
python -m build --wheel
815+
python3 -m build --wheel
816816
817817
.. tab:: Windows
818818

source/guides/github-actions-ci-cd-sample/publish-to-test-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
python-version: "3.x"
1616
- name: Install pypa/build
1717
run: >-
18-
python -m
18+
python3 -m
1919
pip install
2020
build
2121
--user
2222
- name: Build a binary wheel and a source tarball
2323
run: >-
24-
python -m
24+
python3 -m
2525
build
2626
--sdist
2727
--wheel

source/guides/index-mirrors-and-caches.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ cached copies of :term:`packages <Distribution Package>`:
3333
by downloading all the requirements for a project and then pointing pip at
3434
those downloaded files instead of going to PyPI.
3535
2. A variation on the above which pre-builds the installation files for
36-
the requirements using :ref:`python -m pip wheel <pip:pip wheel>`:
36+
the requirements using :ref:`python3 -m pip wheel <pip:pip wheel>`:
3737

3838
.. code-block:: bash
3939
40-
python -m pip wheel --wheel-dir=/tmp/wheelhouse SomeProject
41-
python -m pip install --no-index --find-links=/tmp/wheelhouse SomeProject
40+
python3 -m pip wheel --wheel-dir=/tmp/wheelhouse SomeProject
41+
python3 -m pip install --no-index --find-links=/tmp/wheelhouse SomeProject
4242
4343
4444
Caching with devpi

source/guides/multi-version-installs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This can be worked around by setting all dependencies in
3535
``__main__.__requires__`` before importing ``pkg_resources`` for the first
3636
time, but that approach does mean that standard command line invocations of
3737
the affected tools can't be used - it's necessary to write a custom
38-
wrapper script or use ``python -c '<command>'`` to invoke the application's
38+
wrapper script or use ``python3 -c '<command>'`` to invoke the application's
3939
main entry point directly.
4040

4141
Refer to the `pkg_resources documentation

0 commit comments

Comments
 (0)