Skip to content
Snippets Groups Projects
Commit a77716e7 authored by Ben Finney's avatar Ben Finney
Browse files

Merge from ‘python-defaults-debian’ mainline.

parents ffe2893f e29c2e1c
No related branches found
No related tags found
No related merge requests found
...@@ -517,30 +517,21 @@ ...@@ -517,30 +517,21 @@
<p> <p>
A very limited set of wheel packages are available in the archive, A very limited set of wheel packages are available in the archive,
but these support the narrow purpose of enabling but these support the narrow purpose of enabling
the <prgn>pip</prgn> tool, in a Debian policy compliant way. The the <prgn>pip</prgn>, <prgn>virtualenv</prgn>,
set of packages providing wheels for this purpose are (by source and <prgn>pyvenv</prgn> tools in a Debian policy compliant way.
package name): These packages build their own dependent wheels through the use of
<list compact="compact"> the <prgn>dirtbike</prgn> "rewheeling" tool, which takes installed
<item><package>chardet</package></item> Debian packages and turns them back into wheels. Only universal
<item><package>distlib</package></item> wheels (i.e. pure-Python, Python 2 and 3 compatible packages) are
<item><package>html5lib</package></item> supported. Since only the programs that require wheels need build
<item><package>python-colorama</package></item> them, only they may provide <file>-whl</file> packages,
<item><package>python-pip</package></item> e.g. <package>python-pip-whl</package>.
<item><package>python-setuptools</package></item> </p>
<item><package>python-urllib3</package></item> <p>
<item><package>requests</package></item> When these binary packages are installed, <file>*.whl</file> files
<item><package>six</package></item> must be placed in the <file>/usr/share/python-wheels</file>
</list> directory. The location inside a virtual environment will be
</p> rooted in the virtual environment, instead of <file>/usr</file>.
<p>
Wheel packages supporting <prgn>pyvenv</prgn> and <prgn>pip</prgn>
are named with the <package>python-</package> prefix, and
the <package>-whl</package> suffix,
e.g. <package>python-chardet-whl</package>. When these binary
packages are installed, their <file>*.whl</file> files must be
placed in the <file>/usr/share/python-wheels</file> directory.
Such wheels must be built with the <tt>--universal</tt> flag so as
to generate wheels compatible with both Python 2 and Python 3.
</p> </p>
</sect> </sect>
<sect id="package_names"> <sect id="package_names">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment