glfs/shareddeps/drivers/cython.xml
Zeckmathederg a5a5f0f785 Removed all unstable notes on all packages.
Important: Added a section about stability.

Also fixed a build failure with last commit (missing ending para tag).
2024-10-18 12:39:05 -06:00

135 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY cython-download-http "https://github.com/cython/cython/releases/download/&cython-version;-1/cython-&cython-version;.tar.gz">
<!ENTITY cython-download-ftp " ">
]>
<sect1 id="cython" xreflabel="Cython-&cython-version;">
<?dbhtml filename="cython.html"?>
<title>Cython-&cython-version;</title>
<indexterm zone="cython">
<primary sortas="a-cython">cython</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Cython</title>
<para>
The <application>Cython</application> package provides a compiler for
writing C extensions for the <application>Python</application> language.
</para>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&cython-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&cython-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Cython</title>
<para>
Build the module:
</para>
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD</userinput></screen>
<para>
Install the module as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>pip3 install --no-index --find-links=dist --no-cache-dir --no-user Cython</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
cydbg, cython, and cythonize
</seg>
<seg>
None
</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/Cython,
/usr/lib/python&python3-majorver;/site-packages/Cython-&cython-version;.dist-info,
and /usr/lib/python&python3-majorver;/site-packages/pyximport
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="cydbg">
<term><command>cydbg</command></term>
<listitem>
<para>
is the <application>Cython</application> debugger
</para>
<indexterm zone="cython cydbg">
<primary sortas="c-cydbg">cydbg</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="cython-bin">
<term><command>cython</command></term>
<listitem>
<para>
is a compiler for code written in the <application>Cython
</application> language. It outputs a C/C++ program which can be
compiled with a C/C++ compiler
</para>
<indexterm zone="cython cython-bin">
<primary sortas="c-cython-bin">cython-bin</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="cythonize">
<term><command>cythonize</command></term>
<listitem>
<para>
is a compiler for code written in the <application>Cython
</application> language. It outputs an extension module which is
directly importable from <application>Python</application>
</para>
<indexterm zone="cython cythonize">
<primary sortas="c-cythonize">cythonize</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>