File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -258,11 +258,11 @@ data_files section 40.6.0 [#
258
258
259
259
[options]
260
260
install_requires =
261
- requests
261
+ importlib-metadata ; python_version < "3.10"
262
262
263
263
[options.extras_require]
264
264
all =
265
- requests
265
+ importlib-metadata ; python_version < "3.10"
266
266
267
267
.. [#opt-3 ] The ``find: `` and ``find_namespace: `` directive can be further configured
268
268
in a dedicated subsection ``options.packages.find ``. This subsection accepts the
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ The ``project`` table contains metadata fields as described by
56
56
]
57
57
dependencies = [
58
58
"requests",
59
+ 'importlib-metadata; python_version < "3.10"',
59
60
]
60
61
dynamic = ["version"]
61
62
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ The following example demonstrates a minimum configuration
85
85
version = "0.0.1"
86
86
dependencies = [
87
87
"requests",
88
+ 'importlib-metadata; python_version < "3.10"',
88
89
]
89
90
90
91
See :doc: `/userguide/pyproject_config ` for more information.
@@ -100,6 +101,8 @@ The following example demonstrates a minimum configuration
100
101
[options]
101
102
install_requires =
102
103
requests
104
+ importlib-metadata; python_version < "3.10"
105
+
103
106
104
107
See :doc: `/userguide/declarative_config ` for more information.
105
108
@@ -114,6 +117,7 @@ The following example demonstrates a minimum configuration
114
117
version = ' 0.0.1' ,
115
118
install_requires = [
116
119
' requests' ,
120
+ ' importlib-metadata; python_version < "3.10"' ,
117
121
],
118
122
)
119
123
You can’t perform that action at this time.
0 commit comments