Skip to content

Commit 45cd4c7

Browse files
committed
✏️ Add anchor and fix includes
1 parent 4791842 commit 45cd4c7

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

docs/packs/distribution.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ as:
111111

112112
.. literalinclude:: dataprep/pyproject.toml
113113
:language: toml
114-
:lines: 5-21, 23-25, 42-
114+
:lines: 5-20, 22-24, 41-
115115
:lineno-start: 5
116116

117117
``name``
@@ -260,6 +260,9 @@ as:
260260
specifies the versions of Python that are supported by your project. This
261261
will cause installers like :term:`pip` to search through older versions of
262262
packages until they find one that has a matching Python version.
263+
264+
.. _classifiers:
265+
263266
``classifiers``
264267
gives the :term:`Python Package Index` (:term:`PyPI`) and :term:`pip` some
265268
additional metadata about your package. In this case, the package is only
@@ -310,19 +313,19 @@ Dependency groups
310313
allows you to specify dependency groups for your package. You can also
311314
distinguish between different sets:
312315

313-
.. literalinclude:: dataprep/pyproject.toml
314-
:language: toml
315-
:lines: 34, 40-45
316-
:lineno-start: 34
316+
.. literalinclude:: dataprep/pyproject.toml
317+
:language: toml
318+
:lines: 32, 38-43
319+
:lineno-start: 32
317320

318321
Recursive dependency groups are also possible. For example, for ``dev`` you can
319322
take over all dependencies from ``docs`` and ``test`` in addition to
320323
``prek``:
321324

322325
.. literalinclude:: dataprep/pyproject.toml
323326
:language: toml
324-
:lines: 35-39
325-
:lineno-start: 35
327+
:lines: 33-37
328+
:lineno-start: 33
326329

327330
You can install these dependency groups, for example with:
328331

0 commit comments

Comments
 (0)