Skip to content

Commit ef7c3f6

Browse files
authored
Merge branch 'main' into Requires-Python
2 parents f4d7204 + 1c76f46 commit ef7c3f6

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

source/guides/index.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ introduction to packaging, see :doc:`/tutorials/index`.
1313
installing-stand-alone-command-line-tools
1414
installing-using-linux-tools
1515
installing-scientific-packages
16-
index-mirrors-and-caches
17-
hosting-your-own-index
1816

1917
.. toctree::
2018
:maxdepth: 1
@@ -31,6 +29,13 @@ introduction to packaging, see :doc:`/tutorials/index`.
3129
making-a-pypi-friendly-readme
3230
publishing-package-distribution-releases-using-github-actions-ci-cd-workflows
3331

32+
.. toctree::
33+
:maxdepth: 1
34+
:caption: Hosting
35+
36+
index-mirrors-and-caches
37+
hosting-your-own-index
38+
3439
.. toctree::
3540
:maxdepth: 1
3641
:caption: Miscellaneous:

source/specifications/name-normalization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This means that the following names are all equivalent:
3636
* ``friendly.bard``
3737
* ``friendly_bard``
3838
* ``friendly--bard``
39-
* ``FrIeNdLy-._.-bArD`` (a _terrible_ way to write a name, but it is valid)
39+
* ``FrIeNdLy-._.-bArD`` (a *terrible* way to write a name, but it is valid)
4040

4141
History
4242
=======

source/tutorials/installing-packages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ that the virtual environment's variables are set within the current
277277
shell, and not in a subprocess (which then disappears, having no
278278
useful effect).
279279

280-
In both of the above cases, Windows users should _not_ use the
280+
In both of the above cases, Windows users should *not* use the
281281
:command:`source` command, but should rather run the :command:`activate`
282282
script directly from the command shell like so:
283283

source/tutorials/packaging-projects.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Create the following file structure locally:
5454
The directory containing the Python files should match the project name. This
5555
simplifies the configuration and is more obvious to users who install the package.
5656

57-
:file:`__init__.py` is required to import the directory as a package, and
58-
should be empty.
57+
:file:`__init__.py` is required to import the directory as a package,
58+
even if as is our case for this tutorial that file is empty.
5959

6060
:file:`example.py` is an example of a module within the package that could
6161
contain the logic (functions, classes, constants, etc.) of your package.
@@ -107,7 +107,7 @@ Choosing a build backend
107107
------------------------
108108

109109
Tools like :ref:`pip` and :ref:`build` do not actually convert your sources
110-
into a :term:`distribution package <Distribution Package>` (like a wheel);
110+
into a :term:`distribution package <Distribution Package>` (like a wheel);
111111
that job is performed by a *build backend*. The build backend determines how
112112
your project will specify its configuration, including metadata (information
113113
about the project, for example, the name and tags that are displayed on PyPI)

0 commit comments

Comments
 (0)