From 7729db743a83e11c42cca909da2603873ceec97e Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 1 Aug 2024 21:31:42 +0200 Subject: [PATCH 1/2] 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 From cb4b64f6a46b8eab1ba3434a7e778910b2a82814 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 20:33:29 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- source/tutorials/packaging-projects.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 8f3a099c6..0777348e5 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -339,7 +339,7 @@ Make sure you have the latest version of PyPA's :ref:`build` installed: .. tip:: If you have trouble installing these, see the :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