[3aee187] | 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">
|
---|
[59d70fc] | 9 | <!ENTITY py3c-md5sum "55057dab3681aa2e0ff42e08a85e911d">
|
---|
| 10 | <!ENTITY py3c-size "48 KB">
|
---|
| 11 | <!ENTITY py3c-buildsize "4.3 MB">
|
---|
[3aee187] | 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 | &lfs91_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 | <xref linkend="pygobject3"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect5">Recommended</bridgehead>
|
---|
| 79 | <para role="recommended">
|
---|
| 80 | <xref linkend="at-spi2-core"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
| 85 | <xref linkend="python2"/>
|
---|
| 86 | </para>
|
---|
| 87 | -->
|
---|
| 88 | <para condition="html" role="usernotes">
|
---|
| 89 | User Notes: <ulink url="&blfs-wiki;/py3c"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | </sect3>
|
---|
| 93 |
|
---|
| 94 | <sect3 role="installation">
|
---|
| 95 | <title>Installation of Py3c</title>
|
---|
| 96 |
|
---|
| 97 | <para>
|
---|
[59d70fc] | 98 | The <application>Py3c</application> package is a headers-only package
|
---|
[3aee187] | 99 | and because of that, no configuration and compilation is
|
---|
| 100 | required.
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | To test the package, issue: <command>make test-python3</command>.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | To install the <application>Python 3</application> module,
|
---|
| 109 | run the following command as the
|
---|
| 110 | <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <!-- Note:
|
---|
| 114 | When doing a DESTDIR install, use "make prefix=$DESTDIR/usr install"
|
---|
| 115 | but the installed py3c.pc file will contain an invalid path for the
|
---|
| 116 | includedir.
|
---|
| 117 | So either do a "sed -e "s:@includedir@:/usr/include:" -i py3c.pc.in
|
---|
| 118 | before exec the make-install or fix that path in the installed
|
---|
| 119 | file $DESTDIR/usr/share/pkgconfig/py3c.pc afterwards.
|
---|
| 120 | -->
|
---|
| 121 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect3>
|
---|
| 124 |
|
---|
| 125 | <sect3 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Libraries</segtitle>
|
---|
| 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
| 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | None
|
---|
| 139 | </seg>
|
---|
| 140 | <seg>
|
---|
| 141 | /usr/include/py3c
|
---|
| 142 | </seg>
|
---|
| 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | </sect3>
|
---|
| 147 |
|
---|
| 148 | </sect2>
|
---|
| 149 | <!-- End Py3c -->
|
---|