File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -551,18 +551,17 @@ Requires-Python
551
551
.. versionadded :: 1.2
552
552
553
553
This field specifies the Python version(s) that the distribution is
554
- guaranteed to be compatible with. Installation tools may look at this when
554
+ compatible with. Installation tools may look at this when
555
555
picking which version of a project to install.
556
556
557
557
The value must be in the format specified in :doc: `version-specifiers `.
558
558
559
- This field cannot be followed by an environment marker.
559
+ For example, if a distribution uses :ref: `f-strings <whatsnew36-pep498 >`
560
+ then it may prevent installation on Python < 3.6 by specifying::
560
561
561
- Examples::
562
+ Requires-Python: >=3.6
562
563
563
- Requires-Python: >=3
564
- Requires-Python: >2.6,!=3.0.*,!=3.1.*
565
- Requires-Python: ~=2.6
564
+ This field cannot be followed by an environment marker.
566
565
567
566
.. _core-metadata-requires-external :
568
567
You can’t perform that action at this time.
0 commit comments