generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/ref-classes-distutils.html

32 lines
1.7 KiB
HTML
Raw Normal View History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.10.<2E>Python extensions - distutils.bbclass</title>
<link rel="stylesheet" type="text/css" href="../book.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
<link rel="up" href="ref-classes.html" title="Chapter<65>7.<2E>Classes">
<link rel="prev" href="ref-classes-perl.html" title="7.9.<2E>Perl modules - cpan.bbclass">
<link rel="next" href="ref-classes-devshell.html" title="7.11.<2E>Developer Shell - devshell.bbclass">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="7.10.<2E>Python extensions - distutils.bbclass">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-classes-distutils"></a>7.10.<2E>Python extensions - <code class="filename">distutils.bbclass</code>
</h2></div></div></div>
<p>
Recipes for Python extensions are simple.
These recipes usually only need to point to the source's archive and then inherit
the proper <code class="filename">.bbclass</code> file.
Building is split into two methods dependling on which method the module authors used.
</p>
<p>
Extensions that use an Autotools-based build system require Autotools and
<code class="filename">distutils</code>-based <code class="filename">.bbclasse</code> files in their recipes.
</p>
<p>
Extensions that use <code class="filename">distutils</code>-based build systems require
<code class="filename">distutils.bbclass</code> in their recipes.
</p>
</div></body>
</html>