@@ -244,8 +244,7 @@ pip supports installing from a package index using a :term:`requirement
244244specifier <pypug:Requirement Specifier> `. Generally speaking, a requirement
245245specifier is composed of a project name followed by optional :term: `version
246246specifiers <pypug:Version Specifier> `. :pep: `508 ` contains a full specification
247- of the format of a requirement (pip does not support the ``url_req `` form
248- of specifier at this time).
247+ of the format of a requirement.
249248
250249Some examples:
251250
@@ -265,6 +264,13 @@ Since version 6.0, pip also supports specifiers containing `environment markers
265264 SomeProject ==5.4 ; python_version < '2.7'
266265 SomeProject; sys_platform == 'win32'
267266
267+ Since version 19.1, pip also supports `direct references
268+ <https://www.python.org/dev/peps/pep-0440/#direct-references> `__ like so:
269+
270+ ::
271+
272+ SomeProject @ file:///somewhere/...
273+
268274Environment markers are supported in the command line and in requirements files.
269275
270276.. note ::
@@ -880,6 +886,14 @@ Examples
880886 $ pip install http://my.package.repo/SomePackage-1.0.4.zip
881887
882888
889+ #. Install a particular source archive file following :pep: `440 ` direct references.
890+
891+ ::
892+
893+ $ pip install SomeProject==1.0.4@http://my.package.repo//SomeProject-1.2.3-py33-none-any.whl
894+ $ pip install "SomeProject==1.0.4 @ http://my.package.repo//SomeProject-1.2.3-py33-none-any.whl"
895+
896+
883897#. Install from alternative package repositories.
884898
885899 Install from a different index, and not `PyPI `_ ::
0 commit comments