source: general/prog/setuptools.xml@ 08f422e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 08f422e was 22f9c48, checked in by DJ Lucas <dj@…>, 8 years ago

[Systemd merge] - genlib and python-modules

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17451 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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 <!ENTITY setuptools-download-http
8 "https://pypi.python.org/packages/source/s/setuptools/setuptools-&setuptools-version;.tar.gz">
9 <!ENTITY setuptools-download-ftp " ">
10 <!ENTITY setuptools-md5sum "7edec6cc30aca5518fa9bad42ff0179b">
11 <!ENTITY setuptools-size "616 KB">
12 <!ENTITY setuptools-buildsize "8.6 MB">
13 <!ENTITY setuptools-time "less than 0.1 SBU">
14]>
15
16 <!-- Begin Setuptools -->
17 <sect2 id="setuptools" xreflabel="Setuptools-&setuptools-version;" revision="systemd">
18
19 <title>Setuptools-&setuptools-version;</title>
20
21 <indexterm zone="setuptools">
22 <primary sortas="a-Setuptools">Setuptools</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to Setuptools Module</title>
27
28 <para>
29 <application>Setuptools</application> is a <application>Python</application>
30 module that makes it easier to download, build, install, upgrade, and
31 uninstall <application>Python</application> packages.
32 </para>
33
34 <bridgehead renderas="sect4">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&setuptools-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download (FTP): <ulink url="&setuptools-download-ftp;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download MD5 sum: &setuptools-md5sum;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &setuptools-size;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated disk space required: &setuptools-buildsize;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated build time: &setuptools-time;
64 </para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect4">Setuptools Dependencies</bridgehead>
69
70 <bridgehead renderas="sect5">Required</bridgehead>
71 <para role="required">
72 <xref linkend="python2"/> and/or
73 <xref linkend="python3"/>
74 </para>
75
76 <para condition="html" role="usernotes">
77 User Notes: <ulink url="&blfs-wiki;/setuptools"/>
78 </para>
79 </sect3>
80
81 <sect3 role="installation">
82 <title>Installation of Setuptools</title>
83
84 <note>
85 <para>
86 Both <application>Python 2</application> and
87 <application>Python 3</application> modules can
88 be built and installed without any conflicts.
89 </para>
90 </note>
91
92 <para>
93 To install the <application>Python 2</application> module,
94 run the following command as the
95 <systemitem class="username">root</systemitem> user:
96 </para>
97
98<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
99
100 <para>
101 To install the <application>Python 3</application> module,
102 run the following command as the
103 <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
107
108 </sect3>
109
110 <sect3 role="content">
111 <title>Contents</title>
112
113 <segmentedlist>
114 <segtitle>Installed Programs</segtitle>
115 <segtitle>Installed Libraries</segtitle>
116 <segtitle>Installed Directories</segtitle>
117
118 <seglistitem>
119 <seg>
120 easy_install, easy_install-&python2-majorver;, and easy_install-&python3-majorver;
121 </seg>
122 <seg>
123 None
124 </seg>
125 <seg>
126 /usr/lib/python&python2-majorver;/site-packages/_markerlib,
127 /usr/lib/python&python2-majorver;/site-packages/setuptools,
128 /usr/lib/python&python2-majorver;/site-packages/setuptools-&setuptools-version;-py&python2-majorver;.egg-info and/or
129 /usr/lib/python&python3-majorver;/site-packages/_markerlib,
130 /usr/lib/python&python3-majorver;/site-packages/setuptools,
131 /usr/lib/python&python3-majorver;/site-packages/setuptools-&setuptools-version;-py&python3-majorver;.egg-info
132 </seg>
133 </seglistitem>
134 </segmentedlist>
135
136 </sect3>
137
138 </sect2>
139 <!--End Setuptools -->
Note: See TracBrowser for help on using the repository browser.