Skip to content

Commit 41eb747

Browse files
bhrutledgeEpicWink
andauthored
Revert "Declare license file in packaging tutorial" (#1143)
* Revert "Declare license file in packaging tutorial (#1098)" This reverts commit 813584b. * Document backend license inclusion behavioud (#1147) Co-authored-by: Laurie O <[email protected]>
1 parent 21e5dc1 commit 41eb747

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/tutorials/packaging-projects.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ following this tutorial.
188188
]
189189
description = "A small example package"
190190
readme = "README.md"
191-
license = { file="LICENSE" }
192191
requires-python = ">=3.7"
193192
classifiers = [
194193
"Programming Language :: Python :: 3",
@@ -217,7 +216,6 @@ following this tutorial.
217216
In this case, the description is loaded from :file:`README.md` (which is a
218217
common pattern). There also is a more advanced table form described in the
219218
:ref:`project metadata specification <declaring-project-metadata>`.
220-
- ``license`` is the path to the :file:`LICENSE` file, described below.
221219
- ``requires-python`` gives the versions of Python supported by your
222220
project. Installers like :ref:`pip` will look back through older versions of
223221
packages until it finds one that has a matching Python version.
@@ -283,6 +281,9 @@ MIT license:
283281
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
284282
SOFTWARE.
285283
284+
Most build backends automatically include license files in packages. See your
285+
backend's documentation for more details.
286+
286287

287288
Including other files
288289
---------------------

0 commit comments

Comments
 (0)