From 7729db743a83e11c42cca909da2603873ceec97e Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 1 Aug 2024 21:31:42 +0200 Subject: [PATCH] Update packaging-projects.rst if the build package does not exist, there will be an error such "Not recognized .." --- source/tutorials/packaging-projects.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 4c205e28f..8f3a099c6 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -338,8 +338,8 @@ Make sure you have the latest version of PyPA's :ref:`build` installed: py -m pip install --upgrade build .. tip:: If you have trouble installing these, see the - :doc:`installing-packages` tutorial. - + :doc:`installing-packages` tutorial. You will get an error if you don't have the build package so install it first .. code-block:: bash pip install build + Now run this command from the same directory where :file:`pyproject.toml` is located: .. tab:: Unix/macOS