Skip to content

Commit ec25744

Browse files
[7.2.x] Fix example in the documentation (#10782) (#10796)
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 3ce6030 commit ec25744

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog/10782.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed the minimal example in :ref:`goodpractices`: ``pip install -e .`` requires a ``version`` entry in ``pyproject.toml`` to run successfully.

doc/en/explanation/goodpractices.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ The first few lines should look like this:
2424
2525
[project]
2626
name = "PACKAGENAME"
27+
version = "PACKAGEVERSION"
2728
28-
where ``PACKAGENAME`` is the name of your package.
29+
where ``PACKAGENAME`` and ``PACKAGEVERSION`` are the name and version of your package respectively.
2930

3031
You can then install your package in "editable" mode by running from the same directory:
3132

0 commit comments

Comments
 (0)