@@ -228,7 +228,7 @@ Key Type Minimum Version No
228
228
======================= =================================== =============== ====================
229
229
zip_safe bool
230
230
setup_requires list-semi 36.7.0
231
- install_requires file:, list-semi **BETA ** [#opt-6 ]_
231
+ install_requires file:, list-semi **BETA ** [#opt-2 ]_, [ #opt- 6 ]_
232
232
extras_require file:, section **BETA ** [#opt-2 ]_, [#opt-6 ]_
233
233
python_requires str 34.4.0
234
234
entry_points file:, section 51.0.0
@@ -251,17 +251,18 @@ data_files section 40.6.0 [#
251
251
.. [#opt-1 ] In the ``package_data `` section, a key named with a single asterisk
252
252
(``* ``) refers to all packages, in lieu of the empty string used in ``setup.py ``.
253
253
254
- .. [#opt-2 ] In the ``extras_require `` section, values are parsed as ``list-semi ``.
255
- This implies that in order to include markers, they **must ** be *dangling *:
254
+ .. [#opt-2 ] In ``install_requires `` and ``extras_require ``, values are parsed as ``list-semi ``.
255
+ This implies that in order to include markers, each requirement **must ** be *dangling *
256
+ in a new line:
256
257
257
258
.. code-block :: ini
259
+ [options]
260
+ install_requires =
261
+ importlib-metadata; python_version<"3.8"
258
262
259
263
[options.extras_require]
260
- rest = docutils>=0.3; pack ==1.1, ==1.3
261
- pdf =
262
- ReportLab>=1.2
263
- RXP
264
- importlib-metadata; python_version < "3.8"
264
+ all =
265
+ importlib-metadata; python_version < "3.8"
265
266
266
267
.. [#opt-3 ] The ``find: `` and ``find_namespace: `` directive can be further configured
267
268
in a dedicated subsection ``options.packages.find ``. This subsection accepts the
0 commit comments