[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[a5de784] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-setuptools" role="wrap">
|
---|
| 9 | <?dbhtml filename="setuptools.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>setuptools</productname>
|
---|
| 13 | <productnumber>&setuptools-version;</productnumber>
|
---|
| 14 | <address>&setuptools-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Setuptools-&setuptools-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-setuptools">
|
---|
| 20 | <primary sortas="a-setuptools">Setuptools</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>Setuptools is a tool used to download, build, install, upgrade,
|
---|
| 27 | and uninstall Python packages.</para>
|
---|
| 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 | <seglistitem>
|
---|
| 33 | <seg>&setuptools-fin-sbu;</seg>
|
---|
| 34 | <seg>&setuptools-fin-du;</seg>
|
---|
| 35 | </seglistitem>
|
---|
| 36 | </segmentedlist>
|
---|
| 37 |
|
---|
| 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
| 41 | <title>Installation of Setuptools</title>
|
---|
| 42 |
|
---|
| 43 | <para>Build the package:</para>
|
---|
| 44 |
|
---|
| 45 | <screen><userinput remap="install">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para>Install the package:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput remap="install">pip3 install --no-index --find-links dist setuptools</userinput></screen>
|
---|
| 50 | </sect2>
|
---|
| 51 |
|
---|
| 52 | <sect2 id="contents-setuptools" role="content">
|
---|
| 53 | <title>Contents of Setuptools</title>
|
---|
| 54 |
|
---|
| 55 | <segmentedlist>
|
---|
| 56 | <segtitle>Installed directory</segtitle>
|
---|
| 57 |
|
---|
| 58 | <seglistitem>
|
---|
| 59 | <seg>
|
---|
[8223937] | 60 | /usr/lib/python&python-minor;/site-packages/_distutils_hack,
|
---|
| 61 | /usr/lib/python&python-minor;/site-packages/pkg_resources,
|
---|
| 62 | /usr/lib/python&python-minor;/site-packages/setuptools, and
|
---|
| 63 | /usr/lib/python&python-minor;/site-packages/setuptools-&setuptools-version;.dist-info
|
---|
[a5de784] | 64 | </seg>
|
---|
| 65 | </seglistitem>
|
---|
| 66 | </segmentedlist>
|
---|
| 67 |
|
---|
| 68 | </sect2>
|
---|
| 69 |
|
---|
| 70 | </sect1>
|
---|
| 71 |
|
---|