Skip to content

Commit 0c97ce5

Browse files
committed
update python 2 guides
1 parent d3d2fcc commit 0c97ce5

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

docs/starting/install/linux.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.. _install-linux:
22

3-
Installing Python on Linux
4-
==========================
3+
Installing Python 2 on Linux
4+
============================
55

6-
The latest versions of CentOS, Fedora, Redhat Enterprise (RHEL) and Ubuntu
6+
The latest versions of CentOS, Fedora, Redhat Enterprise (RHEL) and Ubuntu
77
**come with Python 2.7 out of the box**.
88

99
To see which version of Python you have installed, open a command prompt and run
@@ -32,11 +32,11 @@ Setuptools & Pip
3232

3333
The two most crucial third-party Python packages are `setuptools <https://pypi.python.org/pypi/setuptools>`_ and `pip <https://pip.pypa.io/en/stable/>`_.
3434

35-
Once installed, you can download, install and uninstall any compliant Python software
36-
product with a single command. It also enables you to add this network installation
35+
Once installed, you can download, install and uninstall any compliant Python software
36+
product with a single command. It also enables you to add this network installation
3737
capability to your own Python software with very little work.
3838

39-
Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include
39+
Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include
4040
pip by default.
4141

4242
To see if pip is installed, open a command prompt and run
@@ -50,15 +50,15 @@ To install pip, `follow the official pip installation guide <https://pip.pypa.io
5050
Virtual Environments
5151
--------------------
5252

53-
A Virtual Environment is a tool to keep the dependencies required by different projects
54-
in separate places, by creating virtual Python environments for them. It solves the
55-
"Project X depends on version 1.x but, Project Y needs 4.x" dilemma, and keeps
53+
A Virtual Environment is a tool to keep the dependencies required by different projects
54+
in separate places, by creating virtual Python environments for them. It solves the
55+
"Project X depends on version 1.x but, Project Y needs 4.x" dilemma, and keeps
5656
your global site-packages directory clean and manageable.
5757

5858
For example, you can work on a project which requires Django 1.10 while also
5959
maintaining a project which requires Django 1.8.
6060

61-
To start using this and see more information: :ref:`Virtual Environments <virtualenvironments-ref>` docs.
61+
To start using this and see more information: :ref:`Virtual Environments <virtualenvironments-ref>` docs.
6262

6363
You can also use :ref:`virtualenvwrapper <virtualenvwrapper-ref>` to make it easier to
6464
manage your virtual environments.

docs/starting/install/osx.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _install-osx:
22

3-
Installing Python on Mac OS X
4-
=============================
3+
Installing Python 2 on Mac OS X
4+
===============================
55

66
.. note::
77
Check out our :ref:`guide for installing Python 3 on OS X<install3-osx>`.

docs/starting/install/win.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. _install-windows:
22

3-
Installing Python on Windows
4-
============================
3+
Installing Python 2 on Windows
4+
==============================
55

6-
First, download the `latest version <https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi>`_
7-
of Python 2.7 from the official Website. If you want to be sure you are installing a fully
6+
First, download the `latest version <https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi>`_
7+
of Python 2.7 from the official website. If you want to be sure you are installing a fully
88
up-to-date version, click the Downloads > Windows link from the home page of the
99
`Python.org web site <http://python.org>`_ .
1010

@@ -35,6 +35,8 @@ You can do this easily by running the following in ``powershell``:
3535
3636
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27\;C:\Python27\Scripts\", "User")
3737
38+
This is also an option during the installation process.
39+
3840
The second (:file:`Scripts`) directory receives command files when certain
3941
packages are installed, so it is a very useful addition.
4042
You do not need to install or configure anything else to use Python. Having
@@ -69,15 +71,15 @@ To install pip, run the Python script available here:
6971
Virtual Environments
7072
--------------------
7173

72-
A Virtual Environment is a tool to keep the dependencies required by different projects
73-
in separate places, by creating virtual Python environments for them. It solves the
74-
"Project X depends on version 1.x but, Project Y needs 4.x" dilemma, and keeps
74+
A Virtual Environment is a tool to keep the dependencies required by different projects
75+
in separate places, by creating virtual Python environments for them. It solves the
76+
"Project X depends on version 1.x but, Project Y needs 4.x" dilemma, and keeps
7577
your global site-packages directory clean and manageable.
7678

7779
For example, you can work on a project which requires Django 1.10 while also
7880
maintaining a project which requires Django 1.8.
7981

80-
To start using this and see more information: :ref:`Virtual Environments <virtualenvironments-ref>` docs.
82+
To start using this and see more information: :ref:`Virtual Environments <virtualenvironments-ref>` docs.
8183

8284

8385
--------------------------------

0 commit comments

Comments
 (0)