@@ -200,27 +200,52 @@ to include your username; this ensures that you have a unique
200200package name that doesn't conflict with packages uploaded by other people
201201following this tutorial.
202202
203- .. code-block :: toml
204-
205- [project]
206- name = "example_package_YOUR_USERNAME_HERE"
207- version = "0.0.1"
208- authors = [
209- { name="Example Author", email="author@example.com" },
210- ]
211- description = "A small example package"
212- readme = "README.md"
213- requires-python = ">=3.8"
214- classifiers = [
215- "Programming Language :: Python :: 3",
216- "Operating System :: OS Independent",
217- ]
218- license = "MIT"
219- license-files = ["LICEN[CS]E*"]
220-
221- [project.urls]
222- Homepage = "https://github.com/pypa/sampleproject"
223- Issues = "https://github.com/pypa/sampleproject/issues"
203+ .. tab :: hatchling/pdm
204+
205+ .. code-block :: toml
206+
207+ [project]
208+ name = "example_package_YOUR_USERNAME_HERE"
209+ version = "0.0.1"
210+ authors = [
211+ { name="Example Author", email="author@example.com" },
212+ ]
213+ description = "A small example package"
214+ readme = "README.md"
215+ requires-python = ">=3.8"
216+ classifiers = [
217+ "Programming Language :: Python :: 3",
218+ "Operating System :: OS Independent",
219+ ]
220+ license = "MIT"
221+ license-files = ["LICEN[CS]E*"]
222+
223+ [project.urls]
224+ Homepage = "https://github.com/pypa/sampleproject"
225+ Issues = "https://github.com/pypa/sampleproject/issues"
226+
227+ .. tab :: setuptools/flit
228+
229+ .. code-block :: toml
230+
231+ [project]
232+ name = "example_package_YOUR_USERNAME_HERE"
233+ version = "0.0.1"
234+ authors = [
235+ { name="Example Author", email="author@example.com" },
236+ ]
237+ description = "A small example package"
238+ readme = "README.md"
239+ requires-python = ">=3.8"
240+ classifiers = [
241+ "Programming Language :: Python :: 3",
242+ "Operating System :: OS Independent",
243+ "License :: OSI Approved :: MIT License",
244+ ]
245+
246+ [project.urls]
247+ Homepage = "https://github.com/pypa/sampleproject"
248+ Issues = "https://github.com/pypa/sampleproject/issues"
224249
225250 - ``name `` is the *distribution name * of your package. This can be any name as
226251 long as it only contains letters, numbers, ``. ``, ``_ `` , and ``- ``. It also
@@ -249,9 +274,10 @@ following this tutorial.
249274 your package will work on. For a complete list of classifiers, see
250275 https://pypi.org/classifiers/.
251276- ``license `` is the :term: `SPDX license expression <License Expression> ` of
252- your package.
277+ your package. Not supported by all the build backends yet.
253278- ``license-files `` is the list of glob paths to the license files,
254279 relative to the directory where :file: `pyproject.toml ` is located.
280+ Not supported by all the build backends yet.
255281- ``urls `` lets you list any number of extra links to show on PyPI.
256282 Generally this could be to the source, documentation, issue trackers, etc.
257283
0 commit comments