1
1
[project ]
2
+ # A general reference for all the fields available in `[project]` can be found at:
3
+ # https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
4
+
2
5
# This is the name of your project. The first time you publish this
3
6
# package, this name will be registered for you. It will determine how
4
7
# users can install this project, e.g.:
@@ -28,7 +31,7 @@ description = "A sample Python project" # Optional
28
31
# the body of text which users will see when they visit PyPI.
29
32
#
30
33
# Often, this is the same as your README, so you can just read it in from
31
- # that file directly (as we have already done above )
34
+ # that file directly (as we have already done below )
32
35
#
33
36
# This field corresponds to the "Description" metadata field:
34
37
# https://packaging.python.org/specifications/core-metadata/#description-optional
@@ -48,8 +51,8 @@ license = {file = "LICENSE.txt"}
48
51
# This field adds keywords for your project which will appear on the
49
52
# project page. What does your project relate to?
50
53
#
51
- # Note that this is a list of additional keywords, separated
52
- # by commas, to be used to assist searching for the distribution in a
54
+ # Note that this is a list of additional keywords,
55
+ # to be used to assist searching for the distribution in a
53
56
# larger catalog.
54
57
keywords = [" sample" , " setuptools" , " development" ] # Optional
55
58
@@ -86,7 +89,7 @@ classifiers = [ # Optional
86
89
87
90
# Specify the Python versions you support here. In particular, ensure
88
91
# that you indicate you support Python 3. These classifiers are *not*
89
- # checked by "pip install". See instead "python_requires " below.
92
+ # checked by "pip install". See instead "requires-python " below.
90
93
" Programming Language :: Python :: 3" ,
91
94
" Programming Language :: Python :: 3.6" ,
92
95
" Programming Language :: Python :: 3.7" ,
@@ -112,7 +115,7 @@ dependencies=[
112
115
#
113
116
# $ pip install sampleproject[dev]
114
117
#
115
- # Similar to `install_requires ` above, these must be valid existing
118
+ # Similar to `dependencies ` above, these must be valid existing
116
119
# projects.
117
120
[project .optional-dependencies ]
118
121
dev = [" check-manifest" ] # Optional
@@ -151,7 +154,7 @@ sample = "sample:main"
151
154
package-data = {"sample" = [" *.dat" ]}
152
155
153
156
[build-system ]
154
- # These are the requirements required to build this project
157
+ # These are requirements for building this project
155
158
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
156
159
requires = [" setuptools>=61.0.0" , " wheel" ]
157
160
build-backend = " setuptools.build_meta"
0 commit comments