From 9c4a9e5fd63ba01d360f7c653c4316bcdf80b7a8 Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Sat, 19 Jun 2021 06:44:30 -0400 Subject: [PATCH 1/2] Move packaging-problems link to top --- source/tutorials/packaging-projects.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index fba84c8ca3..7968cb6630 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -5,6 +5,12 @@ This tutorial walks you through how to package a simple Python project. It will show you how to add the necessary files and structure to create the package, how to build the package, and how to upload it to the Python Package Index. +.. note:: If you have trouble running the commands in this tutoral, please copy the + command and its output, then `open an issue + `_ + on the `packaging-problems `_ + repository on GitHub. We'll do our best to help you! + Some of the commands require a newer version of :ref:`pip`, so start by making sure you have the latest version installed: @@ -435,12 +441,6 @@ 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 -.. note:: If you run into trouble here, please copy the output and file an issue - over on `packaging problems`_ and we'll do our best to help you! - -.. _packaging problems: - https://github.com/pypa/packaging-problems/issues/new?title=Trouble+following+packaging+libraries+tutorial - The ``tar.gz`` file is a :term:`source archive ` whereas the ``.whl`` file is a :term:`built distribution `. Newer From 92834b9596442148f91454d53da40dda485db554 Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Sat, 19 Jun 2021 13:27:39 -0400 Subject: [PATCH 2/2] Reflow admonition --- source/tutorials/packaging-projects.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 7968cb6630..ec50d5c09e 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -5,11 +5,15 @@ This tutorial walks you through how to package a simple Python project. It will show you how to add the necessary files and structure to create the package, how to build the package, and how to upload it to the Python Package Index. -.. note:: If you have trouble running the commands in this tutoral, please copy the - command and its output, then `open an issue - `_ - on the `packaging-problems `_ - repository on GitHub. We'll do our best to help you! +.. tip:: + + If you have trouble running the commands in this tutoral, please copy the command + and its output, then `open an issue`_ on the `packaging-problems`_ repository on + GitHub. We'll do our best to help you! + +.. _open an issue: https://github.com/pypa/packaging-problems/issues/new?title=Trouble+with+packaging+tutorial + +.. _packaging-problems: https://github.com/pypa/packaging-problems Some of the commands require a newer version of :ref:`pip`, so start by making sure you have the latest version installed: