@@ -59,13 +59,13 @@ project's root directory - you will add content to them in the following steps.
5959 Creating a test folder
6060----------------------
6161
62- :file: `tests/ ` is a placeholder for unit test files. Leave it empty for now.
62+ :file: `tests/ ` is a placeholder for test files. Leave it empty for now.
6363
6464
6565Creating pyproject.toml
6666-----------------------
6767
68- :file: `pyproject.toml ` is the file that tells build tools (like ``pip `` 10+ and
68+ :file: `pyproject.toml ` is the file that tells build tools (like ``pip `` and
6969``build ``) what system you are using and what is required for building. The
7070default if this file is missing is to assume a classic setuptools build system,
7171but it is better to be explicit; if you have a :file: `pyproject.toml ` file, you
@@ -157,20 +157,20 @@ an escape hatch when absolutely necessary.
157157 This example package uses a relatively minimal set of metadata:
158158
159159 - ``name `` is the *distribution name * of your package. This can be any name as
160- long as only contains letters, numbers, ``_ `` , and ``- ``. It also must not
160+ long as it only contains letters, numbers, ``_ `` , and ``- ``. It also must not
161161 already be taken on pypi.org. **Be sure to update this with your username, **
162162 as this ensures you won't try to upload a package with the same name as one
163- which already exists when you upload the package .
163+ which already exists.
164164 - ``version `` is the package version. See :pep: `440 ` for more details on
165165 versions. You can use ``file: `` or ``attr: `` directives to read from a file or
166- package attribute (simple attributes do not require import) .
166+ package attribute.
167167 - ``author `` and ``author_email `` are used to identify the author of the
168168 package.
169169 - ``description `` is a short, one-sentence summary of the package.
170170 - ``long_description `` is a detailed description of the package. This is
171171 shown on the package detail page on the Python Package Index. In
172- this case, the long description is loaded from :file: `README.md ` which is
173- a common pattern, using the ``file: `` directive.
172+ this case, the long description is loaded from :file: `README.md ` ( which is
173+ a common pattern) using the ``file: `` directive.
174174 - ``long_description_content_type `` tells the index what type of markup is
175175 used for the long description. In this case, it's Markdown.
176176 - ``url `` is the URL for the homepage of the project. For many projects, this
@@ -273,18 +273,18 @@ an escape hatch when absolutely necessary.
273273 minimal set:
274274
275275 - ``name `` is the *distribution name * of your package. This can be any name as
276- long as only contains letters, numbers, ``_ `` , and ``- ``. It also must not
276+ long as it only contains letters, numbers, ``_ `` , and ``- ``. It also must not
277277 already be taken on pypi.org. **Be sure to update this with your username, **
278278 as this ensures you won't try to upload a package with the same name as one
279- which already exists when you upload the package .
280- - ``version `` is the package version see :pep: `440 ` for more details on
279+ which already exists.
280+ - ``version `` is the package version. See :pep: `440 ` for more details on
281281 versions.
282282 - ``author `` and ``author_email `` are used to identify the author of the
283283 package.
284284 - ``description `` is a short, one-sentence summary of the package.
285285 - ``long_description `` is a detailed description of the package. This is
286286 shown on the package detail page on the Python Package Index. In
287- this case, the long description is loaded from :file: `README.md ` which is
287+ this case, the long description is loaded from :file: `README.md `, which is
288288 a common pattern.
289289 - ``long_description_content_type `` tells the index what type of markup is
290290 used for the long description. In this case, it's Markdown.
@@ -392,8 +392,8 @@ Generating distribution archives
392392--------------------------------
393393
394394The next step is to generate :term: `distribution packages <Distribution
395- Package> ` for the package. These are archives that are uploaded to the Package
396- Index and can be installed by :ref: `pip `.
395+ Package> ` for the package. These are archives that are uploaded to the Python
396+ Package Index and can be installed by :ref: `pip `.
397397
398398Make sure you have the latest versions of PyPA's ``build `` installed:
399399
@@ -454,8 +454,8 @@ Uploading the distribution archives
454454
455455Finally, it's time to upload your package to the Python Package Index!
456456
457- The first thing you'll need to do is register an account on `` Test PyPI ``. Test
458- PyPI is a separate instance of the package index intended for testing and
457+ The first thing you'll need to do is register an account on Test PyPI, which
458+ is a separate instance of the package index intended for testing and
459459experimentation. It's great for things like this tutorial where we don't
460460necessarily want to upload to the real index. To register an account, go to
461461https://test.pypi.org/account/register/ and complete the steps on that page.
0 commit comments