@@ -214,17 +214,16 @@ following this tutorial.
214
214
]
215
215
216
216
[project.urls]
217
- " Homepage" = "https://github.com/pypa/sampleproject"
218
- "Bug Tracker" = "https://github.com/pypa/sampleproject/issues"
217
+ Homepage = "https://github.com/pypa/sampleproject"
218
+ Issues = "https://github.com/pypa/sampleproject/issues"
219
219
220
220
- ``name `` is the *distribution name * of your package. This can be any name as
221
221
long as it only contains letters, numbers, ``. ``, ``_ `` , and ``- ``. It also
222
222
must not already be taken on PyPI. **Be sure to update this with your
223
223
username ** for this tutorial, as this ensures you won't try to upload a
224
224
package with the same name as one which already exists.
225
- - ``version `` is the package version. See the :ref: `version specifier specification <version-specifiers >`
226
- for more details on versions. Some build backends allow it to be specified
227
- another way, such as from a file or a git tag.
225
+ - ``version `` is the package version. (Some build backends allow it to be
226
+ specified another way, such as from a file or Git tag.)
228
227
- ``authors `` is used to identify the author of the package; you specify a name
229
228
and an email for each author. You can also list ``maintainers `` in the same
230
229
format.
@@ -233,9 +232,9 @@ following this tutorial.
233
232
package. This is shown on the package detail page on PyPI.
234
233
In this case, the description is loaded from :file: `README.md ` (which is a
235
234
common pattern). There also is a more advanced table form described in the
236
- :ref: `project metadata specification < declaring-project-metadata >`.
235
+ :ref: `pyproject.toml guide < writing-pyproject-toml >`.
237
236
- ``requires-python `` gives the versions of Python supported by your
238
- project. Installers like :ref: `pip ` will look back through older versions of
237
+ project. An installer like :ref: `pip ` will look back through older versions of
239
238
packages until it finds one that has a matching Python version.
240
239
- ``classifiers `` gives the index and :ref: `pip ` some additional metadata
241
240
about your package. In this case, the package is only compatible with Python
@@ -247,10 +246,11 @@ following this tutorial.
247
246
- ``urls `` lets you list any number of extra links to show on PyPI.
248
247
Generally this could be to the source, documentation, issue trackers, etc.
249
248
250
- See the :ref: `project metadata specification <declaring-project-metadata >` for
251
- details on these and other fields that can be defined in the ``[project] ``
252
- table. Other common fields are ``keywords `` to improve discoverability and the
253
- ``dependencies `` that are required to install your package.
249
+ See the :ref: `pyproject.toml guide <writing-pyproject-toml >` for details
250
+ on these and other fields that can be defined in the ``[project] ``
251
+ table. Other common fields are ``keywords `` to improve discoverability
252
+ and the ``dependencies `` that are required to install your package.
253
+
254
254
255
255
Creating README.md
256
256
------------------
0 commit comments