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

32 lines
1.7 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.10. 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 7. Classes">
<link rel="prev" href="ref-classes-perl.html" title="7.9. Perl modules - cpan.bbclass">
<link rel="next" href="ref-classes-devshell.html" title="7.11. Developer Shell - devshell.bbclass">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="7.10. Python extensions - distutils.bbclass">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-classes-distutils"></a>7.10. 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>