Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-defaults
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
python-defaults
Commits
a77716e7
Commit
a77716e7
authored
9 years ago
by
Ben Finney
Browse files
Options
Downloads
Plain Diff
Merge from ‘python-defaults-debian’ mainline.
parents
ffe2893f
e29c2e1c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/python-policy.sgml
+15
-24
15 additions, 24 deletions
debian/python-policy.sgml
with
15 additions
and
24 deletions
debian/python-policy.sgml
+
15
−
24
View file @
a77716e7
...
...
@@ -517,30 +517,21 @@
<p>
A very limited set of wheel packages are available in the archive,
but these support the narrow purpose of enabling
the <prgn>pip</prgn> tool, in a Debian policy compliant way. The
set of packages providing wheels for this purpose are (by source
package name):
<list compact="compact">
<item><package>chardet</package></item>
<item><package>distlib</package></item>
<item><package>html5lib</package></item>
<item><package>python-colorama</package></item>
<item><package>python-pip</package></item>
<item><package>python-setuptools</package></item>
<item><package>python-urllib3</package></item>
<item><package>requests</package></item>
<item><package>six</package></item>
</list>
</p>
<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.
the <prgn>pip</prgn>, <prgn>virtualenv</prgn>,
and <prgn>pyvenv</prgn> tools in a Debian policy compliant way.
These packages build their own dependent wheels through the use of
the <prgn>dirtbike</prgn> "rewheeling" tool, which takes installed
Debian packages and turns them back into wheels. Only universal
wheels (i.e. pure-Python, Python 2 and 3 compatible packages) are
supported. Since only the programs that require wheels need build
them, only they may provide <file>-whl</file> packages,
e.g. <package>python-pip-whl</package>.
</p>
<p>
When these binary packages are installed, <file>*.whl</file> files
must be placed in the <file>/usr/share/python-wheels</file>
directory. The location inside a virtual environment will be
rooted in the virtual environment, instead of <file>/usr</file>.
</p>
</sect>
<sect id="package_names">
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment