Skip to content

Commit c49bd8e

Browse files
author
Jon Wayne Parrott
authored
Add a license section to the distributing guide (#331)
1 parent 91efc04 commit c49bd8e

2 files changed

Lines changed: 20 additions & 7 deletions

File tree

‎scripts/linkmonitor/inventory.yaml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@
165165
tutorials/distributing-packages.html#description, tutorials/distributing-packages.html#entry-points,
166166
tutorials/distributing-packages.html#hybrid-schemes, tutorials/distributing-packages.html#initial-files,
167167
tutorials/distributing-packages.html#install-requires, tutorials/distributing-packages.html#keywords,
168-
tutorials/distributing-packages.html#license, tutorials/distributing-packages.html#local-version-identifiers,
169-
tutorials/distributing-packages.html#manifest-in, tutorials/distributing-packages.html#name,
170-
tutorials/distributing-packages.html#package-data, tutorials/distributing-packages.html#packages,
171-
tutorials/distributing-packages.html#packaging-and-distributing-projects, tutorials/distributing-packages.html#packaging-your-project,
172-
tutorials/distributing-packages.html#platform-wheels, tutorials/distributing-packages.html#pre-release-versioning,
173-
tutorials/distributing-packages.html#pure-python-wheels, tutorials/distributing-packages.html#readme-rst,
174-
tutorials/distributing-packages.html#requirements-for-packaging-and-distributing,
168+
tutorials/distributing-packages.html#license, tutorials/distributing-packages.html#license-txt,
169+
tutorials/distributing-packages.html#local-version-identifiers, tutorials/distributing-packages.html#manifest-in,
170+
tutorials/distributing-packages.html#name, tutorials/distributing-packages.html#package-data,
171+
tutorials/distributing-packages.html#packages, tutorials/distributing-packages.html#packaging-and-distributing-projects,
172+
tutorials/distributing-packages.html#packaging-your-project, tutorials/distributing-packages.html#platform-wheels,
173+
tutorials/distributing-packages.html#pre-release-versioning, tutorials/distributing-packages.html#pure-python-wheels,
174+
tutorials/distributing-packages.html#readme-rst, tutorials/distributing-packages.html#requirements-for-packaging-and-distributing,
175175
tutorials/distributing-packages.html#scheme-choices, tutorials/distributing-packages.html#scripts,
176176
tutorials/distributing-packages.html#semantic-versioning-preferred, tutorials/distributing-packages.html#serial-versioning,
177177
tutorials/distributing-packages.html#setup-args, tutorials/distributing-packages.html#setup-cfg,

‎source/tutorials/distributing-packages.rst‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,19 @@ For details on writing a ``MANIFEST.in`` file, see the `The MANIFEST.in template
106106
section from the :ref:`distutils` documentation.
107107

108108

109+
LICENSE.txt
110+
~~~~~~~~~~~
111+
112+
Every package should include a license file detailing the terms of
113+
distribution. In many jurisdictions, packages without an explicit license can
114+
not be legally used or distributed by anyone other than the copyright holder.
115+
If you're unsure which license to choose, you can use resources such as
116+
`GitHub's Choose a License <https://choosealicense.com/>`_ or consult a lawyer.
117+
118+
For an example, see the `LICENSE.txt
119+
<https://github.com/pypa/sampleproject/blob/master/LICENSE.txt>`_ from the `PyPA
120+
sample project <https://github.com/pypa/sampleproject>`_
121+
109122
<your package>
110123
~~~~~~~~~~~~~~
111124

0 commit comments

Comments
 (0)