...pip should not
require the user to install pip.
The pip bootstrap
The Python installation includes an executable called "pip3" (see PEP 394 for
naming rationale etc.) that attempts to import pip machinery. If it can then
the pip command proceeds as normal. If it cannot it will bootstrap pip by
downloading the pip implementation and setuptools wheel files. Hereafter the
installation of the "pip implementation" will imply installation of setuptools
and virtualenv. Once installed, the pip comma...
...download and install newer versions
alongside the system ones. The easiest way to do that is to
install one of the binary installers for OS X from the
Python Download page. Installers are
available for the latest Python 3 and Python 2 releases that
will work on all Macs that run Mac OS X 10.5 and later.
Python releases include IDLE, Python's built-in interactive
development environment. If you download and install Python
from the release page, you may also need to download and install
a newer...
...pip#8387 [1] describes an
example. The command pip download --no-deps --no-binary=numpy numpy is
expected to only download an sdist for numpy, since we do not need to check
for dependencies, and both the name and version are available by introspecting
the downloaded file name. pip, however, cannot assume the downloaded archive
follows the convention, and must build and check the metadata. For a PEP 518
project, this means running the prepare_metadata_for_build_wheel hook
specified in PEP 517, wh...
...pip commands and their effect on direct_url.json
Commands that generate a direct_url.json:
pip install https://example.com/app-1.0.tgz
pip install https://example.com/app-1.0.whl
pip install "git+https://example.com/repo/app.git#egg=app&subdirectory=setup"
pip install ./app
pip install file:///home/user/app
pip install --editable "git+https://example.com/repo/app.git#egg=app&subdirectory=setup"
(in which case, url will be the local directory where the git repository has been
cloned to, ...
...downloads that where done
via it. This is used by PyPI to sum up all downloads, to be able to
display the grand total.
These statistics are in CSV-like form, with a header in the first
line. It needs to obey PEP 305 [1]. Basically, it should be
readable by Python's csv module.
The fields in this file are:
package: the distutils id of the package.
filename: the filename that has been downloaded.
useragent: the User-Agent of the client that has downloaded the
package.
count: the number of down...
...pip that will be bootstrapped using
python -m ensurepip --version or ensurepip.version().
Installation of pip into a global or virtual python environment using
python -m ensurepip or ensurepip.bootstrap().
pip install --upgrade pip in a global installation should not affect
any already created virtual environments (but is permitted to affect
future virtual environments, even though it will not do so when using
the standard implementation of ensurepip).
pip install --upgrade pip in a virtual envi...
...pip and setuptools
for quite some time support for PEP 438 has only existed in pip since the 1.4
version, and still has yet to be implemented in setuptools. The design of
PEP 438 did mean that users still benefited for projects which did not require
external files even with older installers, however for projects which did
require external files, users are still silently being given either potentially
unreliable or, even worse, unsafe files to download. This system is also unique
to Python as it ...
...pip package manager
PEP 454, a new "tracemalloc" module for tracing Python memory allocations
PEP 456, a new hash algorithm for Python strings and binary data
PEP 3154, a new and improved protocol for pickled objects
PEP 3156, a new "asyncio" module, a new framework for asynchronous I/O
More resources
Online Documentation
3.4 Release Schedule
Report bugs at http://bugs.python.org.
Help fund Python and its community.
Download
Please proceed to the download page for the...
...pip would use TUF to verify distributions downloaded only from PyPI.
pip MAY support TAP 4 [31] in order use TUF to also verify distributions downloaded
from elsewhere [32].
What Additional Repository Files are Required on PyPI?
In order for package managers like pip to download and verify distributions with
TUF, a few extra files MUST be added to PyPI. These extra repository files are
called TUF metadata, and they contain such information as which keys can be trusted,
the cryptographic...
...pip would use TUF to verify distributions downloaded only from PyPI.
pip MAY support TAP 4 [31] in order use TUF to also verify distributions downloaded
from elsewhere [32].
What Additional Repository Files are Required on PyPI?
In order for package managers like pip to download and verify distributions with
TUF, a few extra files MUST be added to PyPI. These extra repository files are
called TUF metadata, and they contain such information as which keys can be trusted,
the cryptographic hashes ...
...Download
Please proceed to the download page for the download.
Notes on this release:
The OS X installers are now distributed as signed installer package files compatible with the OS X Gatekeeper security feature.
The binaries for AMD64 will also work on processors that implement the Intel 64 architecture. (Also known as the "x64" architecture, and formerly known as both "EM64T" and "x86-64".) They will not work on Intel Itanium Processors (formerly "IA-64&q...
Version: Python 3.x.x
Released: March 17, 2014
Python 3.4.0
Python 3.4 has reached end-of-life. Python 3.4.10, the final release of the 3.4 series, is available here.
Python 3.4.0 was released on March 16th, 2014.
Major new features of the 3.4 series, compared to 3.3
Python 3.4 ...
...Download
This is a preview release, and its use is not recommended in production
settings.
Please proceed to the download page for the download.
Notes on this release:
The final release is scheduled for a week after this release, and it is anticipated that there will be few (if any) changes to Python 3.4.0 between this release and the final release.
The binaries for AMD64 will also work on processors that implement the Intel 64 architecture. (Also known as the "x64" architecture, and...
...Download
Please proceed to the download page for the download.
Notes on this release:
The binaries for AMD64 will also work on processors that implement the Intel 64 architecture. (Also known as the "x64" architecture, and formerly known as both "EM64T" and "x86-64".) They will not work on Intel Itanium Processors (formerly "IA-64").
There is important information about IDLE, Tkinter, and Tcl/Tk on Mac OS X here.
...Download
Please proceed to the download page for the download.
Notes on this release:
The binaries for AMD64 will also work on processors that implement the Intel 64 architecture. (Also known as the "x64" architecture, and formerly known as both "EM64T" and "x86-64".) They will not work on Intel Itanium Processors (formerly "IA-64").
There is important information about IDLE, Tkinter, and Tcl/Tk on Mac OS X here.
...Download
Please proceed to the download page to download Python 3.4.5.
As of Python 3.4.5, the Python 3.4 series only receives Notes on this previous release:
The OS X installers are now distributed as signed installer package files compatible with the OS X Gatekeeper security feature.
The binaries for AMD64 will also work on processors that implement the Intel 64 architecture. (Also known as the "x64" architecture, and formerly known as both "EM64T" and "x86-64"....
Version: Python 3.x.x
Released: March 10, 2014
Python 3.4.0rc3
Python 3.4 has reached end-of-life. Python 3.4.10, the final release of the 3.4 series, is available here.
Python 3.4.0 release candidate 3 was released on March 9th, 2014.
This is a preview release of the next major release of Python ...
Version: Python 3.x.x
Released: May 5, 2014
Python 3.4.1rc1
Python 3.4 has reached end-of-life. Python 3.4.10, the final release of the 3.4 series, is available here.
Python 3.4.1 was released on May 18th, 2014.
Python 3.4.1 has over three hundred bugfixes and other improvements over 3.4 ...
Version: Python 2.x.x
Released: Nov. 26, 2014
Python 2.7.9rc1 is the first release candidate for the next bugfix version of
the Python 2.7 series. Python 2.7.9 will include several significant changes
unprecedented in a "bugfix" release:
The entirety of Python 3.4's ssl module has been backported for Python
2.7 ...
Version: Python 3.x.x
Released: Sept. 22, 2014
Python 3.4.2rc1
Python 3.4 has reached end-of-life. Python 3.4.10, the final release of the 3.4 series, is available here.
Python 3.4.2rc1 was released on September 22nd, 2014.
Python 3.4.2 has many bugfixes and other small improvements over 3.4.1 ...