Skip to content

Commit

Permalink
[7.2.x] Fix example in the documentation (#10782)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus authored and pytestbot committed Mar 5, 2023
1 parent 3ce6030 commit 9813ba0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/10782.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the minimal example in :ref:`goodpractices`: ``pip install -e .`` requires a ``version`` entry in ``pyproject.toml`` to run successfully.
3 changes: 2 additions & 1 deletion doc/en/explanation/goodpractices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ The first few lines should look like this:
[project]
name = "PACKAGENAME"
version = "PACKAGEVERSION"
where ``PACKAGENAME`` is the name of your package.
where ``PACKAGENAME`` and ``PACKAGEVERSION`` are the name and version of your package respectively.

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

Expand Down

0 comments on commit 9813ba0

Please sign in to comment.