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 py3c-download-http
|
---|
8 | "https://github.com/encukou/py3c/archive/v&py3c-version;/py3c-&py3c-version;.tar.gz">
|
---|
9 | <!ENTITY py3c-md5sum "53029afde7e0cf8672a2d69d378a0cfc">
|
---|
10 | <!ENTITY py3c-size "47 KB">
|
---|
11 | <!ENTITY py3c-buildsize "608 KB">
|
---|
12 | <!ENTITY py3c-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <!-- Begin Py3c -->
|
---|
16 | <sect2 id="py3c" xreflabel="Py3c-&py3c-version;">
|
---|
17 |
|
---|
18 | <title>Py3c-&py3c-version;</title>
|
---|
19 |
|
---|
20 | <indexterm zone="py3c">
|
---|
21 | <primary sortas="a-Py3c">Py3c</primary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
24 | <sect3 role="package">
|
---|
25 | <title>Introduction to Py3c</title>
|
---|
26 |
|
---|
27 | <para>
|
---|
28 | <application>Py3c</application> helps you port C extensions to
|
---|
29 | Python 3. It provides a detailed guide, and a set of macros to
|
---|
30 | make porting easy and reduce boilerplate.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs111_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&py3c-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <!--
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&py3c-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | -->
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &py3c-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &py3c-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &py3c-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &py3c-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 | <!--
|
---|
71 | <bridgehead renderas="sect4">Py3c Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
74 | <para role="required">
|
---|
75 | -->
|
---|
76 | <para condition="html" role="usernotes">
|
---|
77 | User Notes: <ulink url="&blfs-wiki;/py3c"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | </sect3>
|
---|
81 |
|
---|
82 | <sect3 role="installation">
|
---|
83 | <title>Installation of Py3c</title>
|
---|
84 |
|
---|
85 | <para>
|
---|
86 | The <application>Py3c</application> package is a headers-only package
|
---|
87 | and because of that, no configuration and compilation is
|
---|
88 | required.
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | To test the package, issue:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen remap="test"><userinput>make test-python3 &&
|
---|
96 | make test-python3-cpp</userinput></screen>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | To install the <application>Python 3</application> module,
|
---|
100 | run the following command as the
|
---|
101 | <systemitem class="username">root</systemitem> user:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <!-- Note:
|
---|
105 | Now, doing a DESTDIR install is just
|
---|
106 | "make prefix=/usr DESTDIR=<dest> install"
|
---|
107 | -->
|
---|
108 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
109 |
|
---|
110 | </sect3>
|
---|
111 |
|
---|
112 | <sect3 role="content">
|
---|
113 | <title>Contents</title>
|
---|
114 |
|
---|
115 | <segmentedlist>
|
---|
116 | <segtitle>Installed Programs</segtitle>
|
---|
117 | <segtitle>Installed Libraries</segtitle>
|
---|
118 | <segtitle>Installed Directories</segtitle>
|
---|
119 |
|
---|
120 | <seglistitem>
|
---|
121 | <seg>
|
---|
122 | None
|
---|
123 | </seg>
|
---|
124 | <seg>
|
---|
125 | None
|
---|
126 | </seg>
|
---|
127 | <seg>
|
---|
128 | /usr/include/py3c
|
---|
129 | </seg>
|
---|
130 | </seglistitem>
|
---|
131 | </segmentedlist>
|
---|
132 |
|
---|
133 | </sect3>
|
---|
134 |
|
---|
135 | </sect2>
|
---|