[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">
|
---|
[75cf6e3] | 9 | <!ENTITY py3c-md5sum "57f6518f3a7bcd501425bb23f2de15a7">
|
---|
[59d70fc] | 10 | <!ENTITY py3c-size "48 KB">
|
---|
[75cf6e3] | 11 | <!ENTITY py3c-buildsize "1.4 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 |
|
---|
[20a35ab] | 33 | &lfs110a_checked;
|
---|
[3aee187] | 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>
|
---|
[59d70fc] | 86 | The <application>Py3c</application> package is a headers-only package
|
---|
[3aee187] | 87 | and because of that, no configuration and compilation is
|
---|
| 88 | required.
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <para>
|
---|
| 92 | To test the package, issue: <command>make test-python3</command>.
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para>
|
---|
| 96 | To install the <application>Python 3</application> module,
|
---|
| 97 | run the following command as the
|
---|
| 98 | <systemitem class="username">root</systemitem> user:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <!-- Note:
|
---|
| 102 | When doing a DESTDIR install, use "make prefix=$DESTDIR/usr install"
|
---|
| 103 | but the installed py3c.pc file will contain an invalid path for the
|
---|
| 104 | includedir.
|
---|
| 105 | So either do a "sed -e "s:@includedir@:/usr/include:" -i py3c.pc.in
|
---|
| 106 | before exec the make-install or fix that path in the installed
|
---|
| 107 | file $DESTDIR/usr/share/pkgconfig/py3c.pc afterwards.
|
---|
| 108 | -->
|
---|
| 109 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
| 117 | <segtitle>Installed Programs</segtitle>
|
---|
| 118 | <segtitle>Installed Libraries</segtitle>
|
---|
| 119 | <segtitle>Installed Directories</segtitle>
|
---|
| 120 |
|
---|
| 121 | <seglistitem>
|
---|
| 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
| 125 | <seg>
|
---|
| 126 | None
|
---|
| 127 | </seg>
|
---|
| 128 | <seg>
|
---|
| 129 | /usr/include/py3c
|
---|
| 130 | </seg>
|
---|
| 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | </sect3>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|