mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Fixed all H2 headings
Before, H2 fomratting was not consistent. Now, all H2 headings use over/under asterisks.
This commit is contained in:
@@ -33,8 +33,10 @@ described in the next section before you start building Python applications
|
||||
for real-world use. In particular, you should always install Setuptools and pip, as
|
||||
it makes it much easier for you to use other third-party Python libraries.
|
||||
|
||||
|
||||
****************
|
||||
Setuptools & Pip
|
||||
----------------
|
||||
****************
|
||||
|
||||
The two most crucial third-party Python packages are `setuptools <https://pypi.python.org/pypi/setuptools>`_ and `pip <https://pip.pypa.io/en/stable/>`_.
|
||||
|
||||
@@ -53,8 +55,10 @@ To see if pip is installed, open a command prompt and run
|
||||
|
||||
To install pip, `follow the official pip installation guide <https://pip.pypa.io/en/latest/installing/>`_ - this will automatically install the latest version of setuptools.
|
||||
|
||||
|
||||
********************
|
||||
Virtual Environments
|
||||
--------------------
|
||||
********************
|
||||
|
||||
A Virtual Environment is a tool to keep the dependencies required by different projects
|
||||
in separate places, by creating virtual Python environments for them. It solves the
|
||||
|
||||
@@ -23,8 +23,10 @@ good for development. The version shipped with OS X may be out of date from the
|
||||
`official current Python release <https://www.python.org/downloads/mac-osx/>`_,
|
||||
which is considered the stable production version.
|
||||
|
||||
|
||||
**************
|
||||
Doing it Right
|
||||
--------------
|
||||
**************
|
||||
|
||||
Let's install a real version of Python.
|
||||
|
||||
@@ -89,8 +91,9 @@ Homebrew names the executable ``python2`` so that you can still run the system P
|
||||
$ python3 -V # Homebrew installed Python 3 interpreter (if installed)
|
||||
|
||||
|
||||
****************
|
||||
Setuptools & Pip
|
||||
----------------
|
||||
****************
|
||||
|
||||
Homebrew installs Setuptools and ``pip`` for you.
|
||||
|
||||
@@ -110,9 +113,9 @@ and is actively maintained.
|
||||
$ pip -V # pip pointing to the Homebrew installed Python 3 interpreter (if installed)
|
||||
|
||||
|
||||
|
||||
********************
|
||||
Virtual Environments
|
||||
--------------------
|
||||
********************
|
||||
|
||||
A Virtual Environment (commonly referred to as a 'virtualenv') is a tool to keep the dependencies required by different projects
|
||||
in separate places, by creating virtual Python environments for them. It solves the
|
||||
|
||||
@@ -52,8 +52,10 @@ 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.
|
||||
|
||||
|
||||
****************
|
||||
Setuptools + Pip
|
||||
----------------
|
||||
****************
|
||||
|
||||
The two most crucial third-party Python packages are `setuptools <https://pypi.python.org/pypi/setuptools>`_ and `pip <https://pip.pypa.io/en/stable/>`_.
|
||||
|
||||
@@ -73,8 +75,9 @@ To see if pip is installed, open a command prompt and run
|
||||
To install pip, `follow the official pip installation guide <https://pip.pypa.io/en/latest/installing/>`_ - this will automatically install the latest version of setuptools.
|
||||
|
||||
|
||||
********************
|
||||
Virtual Environments
|
||||
--------------------
|
||||
********************
|
||||
|
||||
A Virtual Environment is a tool to keep the dependencies required by different projects
|
||||
in separate places, by creating virtual Python environments for them. It solves the
|
||||
|
||||
Reference in New Issue
Block a user