Merge pull request #10795 from bluthej/fix-10782
Fix example in the documentation (#10782)
This commit is contained in:
commit
5f47e423b2
|
@ -0,0 +1 @@
|
|||
Fixed the minimal example in :ref:`goodpractices`: ``pip install -e .`` requires a ``version`` entry in ``pyproject.toml`` to run successfully.
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue