File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,21 @@ This tutorial walks you through how to package a simple Python project. It will
55show you how to add the necessary files and structure to create the package, how
66to build the package, and how to upload it to the Python Package Index.
77
8+ Some of the commands require a recent version of :ref: `pip `, so start by making
9+ sure you have the latest version installed:
10+
11+ .. tab :: Unix/macOS
12+
13+ .. code-block :: bash
14+
15+ python3 -m pip install --upgrade pip
16+
17+ .. tab :: Windows
18+
19+ .. code-block :: bash
20+
21+ py -m pip install --upgrade pip
22+
823
924 A simple project
1025----------------
@@ -498,21 +513,8 @@ https://test.pypi.org/project/example-pkg-YOUR-USERNAME-HERE
498513Installing your newly uploaded package
499514--------------------------------------
500515
501- You can use :ref: `pip ` to install your package and verify that it works. Make sure you have the latest version installed:
502-
503- .. tab :: Unix/macOS
504-
505- .. code-block :: bash
506-
507- python3 -m pip install --upgrade pip
508-
509- .. tab :: Windows
510-
511- .. code-block :: bash
512-
513- py -m pip install --upgrade pip
514-
515- Now create a new :ref: `virtualenv ` (see :doc: `/tutorials/installing-packages ` for
516+ You can use :ref: `pip ` to install your package and verify that it works.
517+ Create a new :ref: `virtualenv ` (see :doc: `/tutorials/installing-packages ` for
516518detailed instructions) and install your package from TestPyPI:
517519
518520.. tab :: Unix/macOS
You can’t perform that action at this time.
0 commit comments