From 0fee23377ecc884d5b89a45182312c6cf4bab5e3 Mon Sep 17 00:00:00 2001 From: Udi Oron Date: Sat, 14 Dec 2013 16:16:18 +0200 Subject: [PATCH 1/2] Use win_add2path.py to add directories to the path. --- docs/starting/install/win.rst | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/starting/install/win.rst b/docs/starting/install/win.rst index bdfa3f08a..869a03d92 100644 --- a/docs/starting/install/win.rst +++ b/docs/starting/install/win.rst @@ -25,16 +25,13 @@ tedious, so add the directories for your default Python version to the PATH. Assuming that your Python installation is in ``C:\Python27\``, add this to your PATH:: - C:\Python27\;C:\Python27\Scripts\ + C:\Python27\; -You can do this easily by running the following in ``powershell``:: +You can do this easily by running the following command:: - [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27\;C:\Python27\Scripts\", "User") + C:\Python27\Tools\Scripts\win_add2path.py -The second (``Scripts``) directory receives command files when certain -packages are installed, so it is a very useful addition. -You do not need to install or configure anything else to use Python. Having -said that, I would strongly recommend that you install the tools and libraries +I would strongly recommend that you install the tools and libraries described in the next section before you start building Python applications for real-world use. In particular, you should always install Setuptools, as it makes it much easier for you to use other third-party Python libraries. @@ -52,6 +49,12 @@ your own Python software with very little work. To obtain the latest version of Setuptools for Windows, run the python script available here: `ez_setup.py `_ +You will need to another directory to your PATH, ``C:\Python27\Scripts``, where +easy_install.exe and other utilities are stored. You can do this easily by running +this command again:: + + C:\Python27\Tools\Scripts\win_add2path.py + You'll now have a new command available to you: **easy_install**. It is considered by many to be deprecated, so we will install its replacement: From 92f361e0e79c4ba141ac11dd0c9e60b7ba3bb436 Mon Sep 17 00:00:00 2001 From: Udi Date: Sat, 14 Dec 2013 20:35:51 +0200 Subject: [PATCH 2/2] fixed typo --- docs/starting/install/win.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/starting/install/win.rst b/docs/starting/install/win.rst index 869a03d92..fce0f0114 100644 --- a/docs/starting/install/win.rst +++ b/docs/starting/install/win.rst @@ -49,8 +49,8 @@ your own Python software with very little work. To obtain the latest version of Setuptools for Windows, run the python script available here: `ez_setup.py `_ -You will need to another directory to your PATH, ``C:\Python27\Scripts``, where -easy_install.exe and other utilities are stored. You can do this easily by running +You will need to add another directory to your PATH, ``C:\Python27\Scripts``, where +``easy_install.exe`` and other utilities are stored. You can do it easily by running this command again:: C:\Python27\Tools\Scripts\win_add2path.py pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy