From a2cea0eb7d73c9df78a8727e6b3a588460c72169 Mon Sep 17 00:00:00 2001 From: Emil Styrke Date: Thu, 21 Jan 2016 09:44:50 +0100 Subject: [PATCH] Fix typo It seems the requirement specifier must be `sys_platform` and not `sys.platform`. Tested with pip 8.0.0. --- docs/reference/pip_install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/pip_install.rst b/docs/reference/pip_install.rst index 20963375a..27757637d 100644 --- a/docs/reference/pip_install.rst +++ b/docs/reference/pip_install.rst @@ -235,7 +235,7 @@ Since version 6.0, pip also supports specifers containing `environment markers :: SomeProject ==5.4 ; python_version < '2.7' - SomeProject; sys.platform == 'win32' + SomeProject; sys_platform == 'win32' Environment markers are supported in the command line and in requirements files.