Skip to content

Commit

Permalink
docs: improve the automatic metadata section
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <lains@riseup.net>
  • Loading branch information
FFY00 committed Feb 23, 2022
1 parent c497a77 commit fe2a14b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/usage/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,12 @@ the ``version`` field and add it to ``project.dynamic``.
Automatic metadata
------------------

If no other metadata is specified, ``mesonpy`` will fetch the project name and
version from Meson. In which case, you don't need to add anything else to your
``pyproject.toml`` file.
If ``project`` metadata table is specified, ``mesonpy`` will fetch the project
name and version from Meson. In which case, you don't need to add anything else
to your ``pyproject.toml`` file.

This is not recommended. Please consider specifying the Python package metadata.

.. admonition:: Warning
:class: warning

This is not recommended. Please consider specifying the Python package metadata.

0 comments on commit fe2a14b

Please sign in to comment.