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