source: general/prog/pyxdg.xml@ 7e8964e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 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 7e8964e was ccd74eb, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

More tags

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

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