9
9
# https://packaging.python.org/en/latest/tutorials/packaging-projects/#choosing-a-build-backend
10
10
[build-system ]
11
11
# A list of packages that are needed to build your package:
12
- requires = [" setuptools" ] # REQUIRED if [build-system] table is used
12
+ requires = [" setuptools" ] # REQUIRED if [build-system] table is used
13
13
# The name of the Python object that frontends will use to perform the build:
14
- build-backend = " setuptools.build_meta" # If not defined, then legacy behavior can happen.
14
+ build-backend = " setuptools.build_meta" # If not defined, then legacy behavior can happen.
15
15
16
16
17
17
[project ]
@@ -26,14 +26,14 @@ build-backend = "setuptools.build_meta" # If not defined, then legacy behavior
26
26
# There are some restrictions on what makes a valid project name
27
27
# specification here:
28
28
# https://packaging.python.org/specifications/core-metadata/#name
29
- name = " sampleproject" # REQUIRED, is the only field that cannot be marked as dynamic.
29
+ name = " sampleproject" # REQUIRED, is the only field that cannot be marked as dynamic.
30
30
31
31
# Versions should comply with PEP 440:
32
32
# https://www.python.org/dev/peps/pep-0440/
33
33
#
34
34
# For a discussion on single-sourcing the version, see
35
35
# https://packaging.python.org/guides/single-sourcing-package-version/
36
- version = " 3 .0.0" # REQUIRED, although can be dynamic
36
+ version = " 4 .0.0" # REQUIRED, although can be dynamic
37
37
38
38
# This is a one-line description or tagline of what your project does. This
39
39
# corresponds to the "Summary" metadata field:
@@ -54,12 +54,12 @@ readme = "README.md"
54
54
# 'Programming Language' classifiers in this file, 'pip install' will check this
55
55
# and refuse to install the project if the version does not match. See
56
56
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
57
- requires-python = " >=3.8 "
57
+ requires-python = " >=3.9 "
58
58
59
59
# This is either text indicating the license for the distribution, or a file
60
60
# that contains the license.
61
61
# https://packaging.python.org/en/latest/specifications/core-metadata/#license
62
- license = {file = " LICENSE.txt" }
62
+ license = { file = " LICENSE.txt" }
63
63
64
64
# This field adds keywords for your project which will appear on the
65
65
# project page. What does your project relate to?
@@ -72,15 +72,13 @@ keywords = ["sample", "setuptools", "development"]
72
72
# This should be your name or the name of the organization who originally
73
73
# authored the project, and a valid email address corresponding to the name
74
74
# listed.
75
- authors = [
76
- {name = " A. Random Developer" , email = " author@example.com" }
77
- ]
75
+ authors = [{ name = " A. Random Developer" , email = " author@example.com" }]
78
76
79
77
# This should be your name or the names of the organization who currently
80
78
# maintains the project, and a valid email address corresponding to the name
81
79
# listed.
82
80
maintainers = [
83
- {name = " A. Great Maintainer" , email = " maintainer@example.com" }
81
+ { name = " A. Great Maintainer" , email = " maintainer@example.com" },
84
82
]
85
83
86
84
# Classifiers help users find your project by categorizing it.
@@ -104,11 +102,11 @@ classifiers = [
104
102
# that you indicate you support Python 3. These classifiers are *not*
105
103
# checked by "pip install". See instead "requires-python" key in this file.
106
104
" Programming Language :: Python :: 3" ,
107
- " Programming Language :: Python :: 3.8" ,
108
105
" Programming Language :: Python :: 3.9" ,
109
106
" Programming Language :: Python :: 3.10" ,
110
107
" Programming Language :: Python :: 3.11" ,
111
108
" Programming Language :: Python :: 3.12" ,
109
+ " Programming Language :: Python :: 3.13" ,
112
110
" Programming Language :: Python :: 3 :: Only" ,
113
111
]
114
112
@@ -118,17 +116,15 @@ classifiers = [
118
116
#
119
117
# For an analysis of this field vs pip's requirements files see:
120
118
# https://packaging.python.org/discussions/install-requires-vs-requirements/
121
- dependencies = [
122
- " peppercorn"
123
- ]
119
+ dependencies = [" peppercorn" ]
124
120
125
121
# List additional groups of dependencies here (e.g. development
126
122
# dependencies). Users will be able to install these using the "extras"
127
123
# syntax, for example:
128
124
#
129
125
# $ pip install sampleproject[dev]
130
126
#
131
- # Optional dependencies the project provides. These are commonly
127
+ # Optional dependencies the project provides. These are commonly
132
128
# referred to as "extras". For a more extensive definition see:
133
129
# https://packaging.python.org/en/latest/specifications/dependency-specifiers/#extras
134
130
[project .optional-dependencies ]
@@ -163,4 +159,4 @@ sample = "sample:main"
163
159
[tool .setuptools ]
164
160
# If there are data files included in your packages that need to be
165
161
# installed, specify them here.
166
- package-data = {"sample" = [" *.dat" ]}
162
+ package-data = { "sample" = [" *.dat" ] }
0 commit comments