-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explain specific requirements for Markdown descriptions #522
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,27 @@ Set the value of ``long_description`` to the contents (not the path) of the READ | |
Set the ``long_description_content_type`` to an accepted ``Content-Type``-style value for your README file's markup, | ||
such as ``text/plain``, ``text/x-rst`` (for reStructuredText), or ``text/markdown``. | ||
|
||
.. Note:: If you're using GitHub-flavored Markdown to write a project's description, ensure you upgrade | ||
the following tools: | ||
|
||
.. code-block:: bash | ||
|
||
python3 -m pip install --user --upgrade setuptools wheel twine | ||
|
||
The preferred versions: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this be worded as something along the lines of the following instead?
|
||
|
||
- ``setuptools>=38.6.0`` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should add spaces around I find |
||
- ``wheel>=0.31.0`` | ||
- ``twine>=1.11.0`` | ||
|
||
It's recommended that you use ``twine`` to upload the project's distribution packages: | ||
|
||
.. code-block:: bash | ||
|
||
twine upload dist/* | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor nit: too many newlines |
||
|
||
|
||
For example, see this :file:`setup.py` file, | ||
which reads the contents of :file:`README.md` as ``long_description`` | ||
and identifies the markup as GitHub-flavored Markdown: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit: use lowercase directive (like rest of file) + move statement to a new line for clarity.
.. note:: If you're using GitHub-flavored Markdown to write a project's description, ensure you upgrade the following tools: