From 15a72158dd2fec1437e1e4a88c7bd16292a4f5f3 Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Sun, 18 Sep 2022 07:05:40 -0400 Subject: [PATCH 1/2] Revert "Declare license file in packaging tutorial (#1098)" This reverts commit 813584b4a6f54b59efc5e031db519474babea0b9. --- source/tutorials/packaging-projects.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 3627fa3f1..1ae3cc368 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -188,7 +188,6 @@ following this tutorial. ] description = "A small example package" readme = "README.md" - license = { file="LICENSE" } requires-python = ">=3.7" classifiers = [ "Programming Language :: Python :: 3", @@ -217,7 +216,6 @@ following this tutorial. In this case, the description is loaded from :file:`README.md` (which is a common pattern). There also is a more advanced table form described in the :ref:`project metadata specification `. -- ``license`` is the path to the :file:`LICENSE` file, described below. - ``requires-python`` gives the versions of Python supported by your project. Installers like :ref:`pip` will look back through older versions of packages until it finds one that has a matching Python version. From 6089bd43f1e81a961c3b1fb8b1afcf48383b8928 Mon Sep 17 00:00:00 2001 From: Laurie O Date: Tue, 20 Sep 2022 09:50:52 +1000 Subject: [PATCH 2/2] Document backend license inclusion behavioud --- source/tutorials/packaging-projects.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 1ae3cc368..b65866c63 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -281,6 +281,9 @@ MIT license: OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +Most build backends automatically include license files in packages. See your +backend's documentation for more details. + Including other files ---------------------