From b8fb33598676a1b8f50e4c9f38db3609b7f9f59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Tricas=20Garc=C3=ADa?= Date: Sat, 23 Dec 2023 13:01:21 +0100 Subject: [PATCH 1/2] Update packaging-projects.rst Adding info about the location of the dist/ directory --- source/tutorials/packaging-projects.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 761b2748f..a3cf6508f 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -361,6 +361,22 @@ files in the :file:`dist` directory: ├── example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl └── example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz +This directory will be at the root of your project: + +.. code-block:: text + + packaging_tutorial/ + ├── LICENSE + ├── pyproject.toml + ├── README.md + ├── src/ + │ └── example_package_YOUR_USERNAME_HERE/ + │ ├── __init__.py + │ └── example.py + └── tests/ + └── dist/ + ├── example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl + └── example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz The ``tar.gz`` file is a :term:`source distribution ` whereas the ``.whl`` file is a :term:`built distribution `. From 9db1fa5bdda86d5e55cb2b13b6c09fde2834112b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Tricas=20Garc=C3=ADa?= Date: Sat, 23 Dec 2023 13:03:46 +0100 Subject: [PATCH 2/2] Update packaging-projects.rst Improving formatting --- 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 a3cf6508f..875f40c52 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -373,7 +373,7 @@ This directory will be at the root of your project: │ └── example_package_YOUR_USERNAME_HERE/ │ ├── __init__.py │ └── example.py - └── tests/ + ├── tests/ └── dist/ ├── example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl └── example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz