@@ -200,27 +200,52 @@ to include your username; this ensures that you have a unique
200
200
package name that doesn't conflict with packages uploaded by other people
201
201
following this tutorial.
202
202
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="[email protected] " },
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="[email protected] " },
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="[email protected] " },
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"
224
249
225
250
- ``name `` is the *distribution name * of your package. This can be any name as
226
251
long as it only contains letters, numbers, ``. ``, ``_ `` , and ``- ``. It also
@@ -249,9 +274,10 @@ following this tutorial.
249
274
your package will work on. For a complete list of classifiers, see
250
275
https://pypi.org/classifiers/.
251
276
- ``license `` is the :term: `SPDX license expression <License Expression> ` of
252
- your package.
277
+ your package. Not supported by all the build backends yet.
253
278
- ``license-files `` is the list of glob paths to the license files,
254
279
relative to the directory where :file: `pyproject.toml ` is located.
280
+ Not supported by all the build backends yet.
255
281
- ``urls `` lets you list any number of extra links to show on PyPI.
256
282
Generally this could be to the source, documentation, issue trackers, etc.
257
283
0 commit comments