Skip to content

Commit 0fee233

Browse files
committed
Use win_add2path.py to add directories to the path.
1 parent be9ffbb commit 0fee233

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

docs/starting/install/win.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,13 @@ tedious, so add the directories for your default Python version to the PATH.
2525
Assuming that your Python installation is in ``C:\Python27\``, add this to your
2626
PATH::
2727

28-
C:\Python27\;C:\Python27\Scripts\
28+
C:\Python27\;
2929

30-
You can do this easily by running the following in ``powershell``::
30+
You can do this easily by running the following command::
3131

32-
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27\;C:\Python27\Scripts\", "User")
32+
C:\Python27\Tools\Scripts\win_add2path.py
3333

34-
The second (``Scripts``) directory receives command files when certain
35-
packages are installed, so it is a very useful addition.
36-
You do not need to install or configure anything else to use Python. Having
37-
said that, I would strongly recommend that you install the tools and libraries
34+
I would strongly recommend that you install the tools and libraries
3835
described in the next section before you start building Python applications for
3936
real-world use. In particular, you should always install Setuptools, as it
4037
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.
5249
To obtain the latest version of Setuptools for Windows, run the python script
5350
available here: `ez_setup.py <https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py>`_
5451

52+
You will need to another directory to your PATH, ``C:\Python27\Scripts``, where
53+
easy_install.exe and other utilities are stored. You can do this easily by running
54+
this command again::
55+
56+
C:\Python27\Tools\Scripts\win_add2path.py
57+
5558

5659
You'll now have a new command available to you: **easy_install**. It is
5760
considered by many to be deprecated, so we will install its replacement:

0 commit comments

Comments
 (0)