mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
bpo-11913: Add README.rst to the distutils standard READMEs list (#563)
This commit is contained in:
parent
947629916a
commit
f9f87f0934
4 changed files with 19 additions and 5 deletions
|
|
@ -95,8 +95,9 @@ source distribution:
|
|||
distributions, but in the future there will be a standard for testing Python
|
||||
module distributions)
|
||||
|
||||
* :file:`README.txt` (or :file:`README`), :file:`setup.py` (or whatever you
|
||||
called your setup script), and :file:`setup.cfg`
|
||||
* Any of the standard README files (:file:`README`, :file:`README.txt`,
|
||||
or :file:`README.rst`), :file:`setup.py` (or whatever you called your setup
|
||||
script), and :file:`setup.cfg`.
|
||||
|
||||
* all files that matches the ``package_data`` metadata.
|
||||
See :ref:`distutils-installing-package-data`.
|
||||
|
|
@ -130,6 +131,9 @@ described above does not apply in this case.
|
|||
:command:`sdist` will read a :file:`MANIFEST` file if no :file:`MANIFEST.in`
|
||||
exists, like it used to do.
|
||||
|
||||
.. versionchanged:: 3.7
|
||||
:file:`README.rst` is now included in the list of distutils standard READMEs.
|
||||
|
||||
|
||||
The manifest template has one command per line, where each command specifies a
|
||||
set of files to include or exclude from the source distribution. For an
|
||||
|
|
|
|||
|
|
@ -95,6 +95,13 @@ New Modules
|
|||
Improved Modules
|
||||
================
|
||||
|
||||
distutils
|
||||
---------
|
||||
|
||||
README.rst is now included in the list of distutils standard READMEs and
|
||||
therefore included in source distributions.
|
||||
(Contributed by Ryan Gonzalez in :issue:`11913`.)
|
||||
|
||||
http.server
|
||||
-----------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue