Skip to content

Packaging Python Projects: Make packaging-problems link more prominent#922

Merged
webknjaz merged 2 commits intopypa:mainfrom
bhrutledge:866-having-trouble
Jun 19, 2021
Merged

Packaging Python Projects: Make packaging-problems link more prominent#922
webknjaz merged 2 commits intopypa:mainfrom
bhrutledge:866-having-trouble

Conversation

@bhrutledge
Copy link
Copy Markdown
Contributor

Closes #866

Rather than isolating it to the python -m build step, my hope is that this lets readers know then can get help at any point along the way. I thought about adding internal links to the .. note to the various steps, or adding specific ?title= links, but I also thought that might be unnecessarily noisy.

Sorry for the duplicate of #921 ; I renamed the branch in the GitHub UI, thinking it might carry over into the PR.

Comment thread source/tutorials/packaging-projects.rst Outdated
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
Copy link
Copy Markdown
Member

@webknjaz webknjaz Jun 19, 2021

Choose a reason for hiding this comment

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

For admonitions, it's common to have an indented paragraph as their block arguments. Could you reflow it as follows:

Suggested change
.. note:: If you have trouble running the commands in this tutoral, please copy the
.. tip::
If you have trouble running the commands in this tutoral, please copy the

Also, it's a "tip" rather than "note", I think.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks for the tip. ;)

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

@bhrutledge bhrutledge requested a review from webknjaz June 19, 2021 17:28
@webknjaz webknjaz merged commit 44313e5 into pypa:main Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify "Packaging Python Projects" tutorial

2 participants