From 93d323e78258dcbd087a65abfc4787d8bf3af5ba Mon Sep 17 00:00:00 2001 From: pastelmind Date: Fri, 13 Mar 2020 15:20:20 +0900 Subject: [PATCH] Explain why README.md must be included --- source/tutorials/packaging-projects.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 8279b1fc1b..f34afe8f9e 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -310,6 +310,13 @@ if you'd like. to write your content. +Because our build script loads :file:`README.md` to provide a ``long_description`` +for :func:`setup`, the :file:`README.md` must be included along with your code +when you `generate a source distribution `_. +:ref:`setuptools` 36.4.0 or above will automatically include :file:`README.md` +if it exists. + + Creating a LICENSE ------------------