Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions source/tutorials/packaging-projects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ 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.

.. 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:

Expand Down Expand Up @@ -435,12 +445,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:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like a detached reference definition better since it allows us to have shorter lines (it's already quite long).

https://github.com/pypa/packaging-problems/issues/new?title=Trouble+following+packaging+libraries+tutorial


The ``tar.gz`` file is a :term:`source archive <Source Archive>` whereas the
``.whl`` file is a :term:`built distribution <Built Distribution>`. Newer
Expand Down