summaryrefslogtreecommitdiff
blob: 0bb475960bee4a1e74f8ee4bab9f52207d58be11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

    <title>Gentoo Python Guide &#8212; Gentoo Python Guide  documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
    <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
    <script src="_static/jquery.js"></script>
    <script src="_static/underscore.js"></script>
    <script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
    <script src="_static/doctools.js"></script>
    <script src="_static/sphinx_highlight.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Preface" href="preface.html" />
   
  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            
  <section id="gentoo-python-guide">
<h1>Gentoo Python Guide<a class="headerlink" href="#gentoo-python-guide" title="Permalink to this heading"></a></h1>
<dl class="field-list simple">
<dt class="field-odd">Author<span class="colon">:</span></dt>
<dd class="field-odd"><p>Michał Górny</p>
</dd>
<dt class="field-even">License<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference external" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International</a></p>
</dd>
</dl>
<div class="toctree-wrapper compound">
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="preface.html">Preface</a></li>
<li class="toctree-l1"><a class="reference internal" href="interpreter.html">Python interpreters</a><ul>
<li class="toctree-l2"><a class="reference internal" href="interpreter.html#versions-of-python">Versions of Python</a></li>
<li class="toctree-l2"><a class="reference internal" href="interpreter.html#life-cycle-of-a-python-implementation">Life cycle of a Python implementation</a></li>
<li class="toctree-l2"><a class="reference internal" href="interpreter.html#stability-guarantees-of-python-implementations">Stability guarantees of Python implementations</a></li>
<li class="toctree-l2"><a class="reference internal" href="interpreter.html#alternative-python-implementations">Alternative Python implementations</a></li>
<li class="toctree-l2"><a class="reference internal" href="interpreter.html#support-for-multiple-implementations">Support for multiple implementations</a></li>
<li class="toctree-l2"><a class="reference internal" href="interpreter.html#backports">Backports</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="eclass.html">Choosing between Python eclasses</a><ul>
<li class="toctree-l2"><a class="reference internal" href="eclass.html#overview">Overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="eclass.html#build-time-vs-runtime-use">Build time vs runtime use</a></li>
<li class="toctree-l2"><a class="reference internal" href="eclass.html#single-impl-vs-multi-impl">Single-impl vs multi-impl</a></li>
<li class="toctree-l2"><a class="reference internal" href="eclass.html#python-first-packages-distutils-r1-eclass">Python-first packages (distutils-r1 eclass)</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="basic.html">Common basics</a><ul>
<li class="toctree-l2"><a class="reference internal" href="basic.html#python-compat">PYTHON_COMPAT</a></li>
<li class="toctree-l2"><a class="reference internal" href="basic.html#python-deps-and-python-required-use">PYTHON_DEPS and PYTHON_REQUIRED_USE</a></li>
<li class="toctree-l2"><a class="reference internal" href="basic.html#python-environment">Python environment</a></li>
<li class="toctree-l2"><a class="reference internal" href="basic.html#dependencies-in-python-packages">Dependencies in Python packages</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="any.html">python-any-r1 — build-time dependency</a><ul>
<li class="toctree-l2"><a class="reference internal" href="any.html#basic-use-for-unconditional-python">Basic use for unconditional Python</a></li>
<li class="toctree-l2"><a class="reference internal" href="any.html#dependencies">Dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="any.html#conditional-python-use">Conditional Python use</a></li>
<li class="toctree-l2"><a class="reference internal" href="any.html#additional-conditional-dependencies">Additional conditional dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="any.html#multiple-sets-of-conditional-dependencies">Multiple sets of conditional dependencies</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="single.html">python-single-r1 — single-impl packages</a><ul>
<li class="toctree-l2"><a class="reference internal" href="single.html#basic-use-for-unconditional-python">Basic use for unconditional Python</a></li>
<li class="toctree-l2"><a class="reference internal" href="single.html#dependencies">Dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="single.html#conditional-python-use">Conditional Python use</a></li>
<li class="toctree-l2"><a class="reference internal" href="single.html#a-hybrid-build-time-conditional-runtime">A hybrid: build-time + conditional runtime</a></li>
<li class="toctree-l2"><a class="reference internal" href="single.html#multiple-use-conditions">Multiple USE conditions</a></li>
<li class="toctree-l2"><a class="reference internal" href="single.html#manual-install">Manual install</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="multi.html">python-r1 — multi-impl packages</a><ul>
<li class="toctree-l2"><a class="reference internal" href="multi.html#manual-install">Manual install</a></li>
<li class="toctree-l2"><a class="reference internal" href="multi.html#dependencies">Dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="multi.html#pure-python-autotools-package">Pure Python autotools package</a></li>
<li class="toctree-l2"><a class="reference internal" href="multi.html#conditional-python-use">Conditional Python use</a></li>
<li class="toctree-l2"><a class="reference internal" href="multi.html#additional-build-time-python-use">Additional build-time Python use</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="distutils.html">distutils-r1 — standard Python build systems</a><ul>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#the-pep-517-and-legacy-modes">The PEP 517 and legacy modes</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#basic-use-pep-517-mode">Basic use (PEP 517 mode)</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#source-archives">Source archives</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#dependencies">Dependencies</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#python-single-r1-variant">python-single-r1 variant</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#pep-517-build-systems">PEP 517 build systems</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#deprecated-pep-517-backends">Deprecated PEP 517 backends</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#setuptools-scm-flit-scm-hatch-vcs-and-snapshots">setuptools_scm (flit_scm, hatch-vcs) and snapshots</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#packages-using-cython">Packages using Cython</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#parallel-build-race-conditions">Parallel build race conditions</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#sub-phase-functions">Sub-phase functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#passing-arguments-to-setup-py">Passing arguments to setup.py</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#calling-custom-setup-py-commands">Calling custom setup.py commands</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#preventing-test-directory-from-being-installed">Preventing test directory from being installed</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#enabling-tests">Enabling tests</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#building-documentation-via-sphinx">Building documentation via Sphinx</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#packages-with-optional-python-build-system-usage">Packages with optional Python build system usage</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#packages-with-rust-extensions-using-cargo">Packages with Rust extensions (using Cargo)</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils.html#installing-packages-without-a-pep-517-build-backend">Installing packages without a PEP 517 build backend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="distutils-legacy.html">distutils-r1 legacy concepts</a><ul>
<li class="toctree-l2"><a class="reference internal" href="distutils-legacy.html#different-build-system-variations">Different build system variations</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils-legacy.html#in-source-vs-out-of-source-builds">In-source vs out-of-source builds</a></li>
<li class="toctree-l2"><a class="reference internal" href="distutils-legacy.html#installing-the-package-before-testing">Installing the package before testing</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="helper.html">Common helper functions</a><ul>
<li class="toctree-l2"><a class="reference internal" href="helper.html#install-helpers">Install helpers</a></li>
<li class="toctree-l2"><a class="reference internal" href="helper.html#fixing-shebangs-on-installed-scripts">Fixing shebangs on installed scripts</a></li>
<li class="toctree-l2"><a class="reference internal" href="helper.html#byte-compiling-python-modules">Byte-compiling Python modules</a></li>
<li class="toctree-l2"><a class="reference internal" href="helper.html#querying-the-implementation-information">Querying the implementation information</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="depend.html">Advanced dependencies</a><ul>
<li class="toctree-l2"><a class="reference internal" href="depend.html#requesting-use-flags-on-the-python-interpreter">Requesting USE flags on the Python interpreter</a></li>
<li class="toctree-l2"><a class="reference internal" href="depend.html#dependencies-conditional-to-python-version">Dependencies conditional to Python version</a></li>
<li class="toctree-l2"><a class="reference internal" href="depend.html#dependencies-on-cffi-and-greenlet">Dependencies on CFFI and greenlet</a></li>
<li class="toctree-l2"><a class="reference internal" href="depend.html#optional-test-suite-dependencies-on-rust-packages">Optional test suite dependencies on Rust packages</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="test.html">Resolving test suite problems</a><ul>
<li class="toctree-l2"><a class="reference internal" href="test.html#choosing-the-correct-test-runner">Choosing the correct test runner</a></li>
<li class="toctree-l2"><a class="reference internal" href="test.html#missing-test-files-in-pypi-packages">Missing test files in PyPI packages</a></li>
<li class="toctree-l2"><a class="reference internal" href="test.html#importerrors-for-c-extensions">ImportErrors for C extensions</a></li>
<li class="toctree-l2"><a class="reference internal" href="test.html#checklist-for-dealing-with-test-failures">Checklist for dealing with test failures</a></li>
<li class="toctree-l2"><a class="reference internal" href="test.html#skipping-problematic-tests">Skipping problematic tests</a></li>
<li class="toctree-l2"><a class="reference internal" href="test.html#tests-requiring-internet-access">Tests requiring Internet access</a></li>
<li class="toctree-l2"><a class="reference internal" href="test.html#tests-aborting-due-to-assertions">Tests aborting (due to assertions)</a></li>
<li class="toctree-l2"><a class="reference internal" href="test.html#installing-extra-dependencies-in-test-environment-pep-517-mode">Installing extra dependencies in test environment (PEP 517 mode)</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="pytest.html">pytest recipes</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#skipping-tests-based-on-markers">Skipping tests based on markers</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#skipping-tests-based-on-paths-names">Skipping tests based on paths/names</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#avoiding-the-dependency-on-pytest-runner">Avoiding the dependency on pytest-runner</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#using-pytest-xdist-to-run-tests-in-parallel">Using pytest-xdist to run tests in parallel</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#avoiding-dependencies-on-other-pytest-plugins">Avoiding dependencies on other pytest plugins</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#explicitly-disabling-automatic-pytest-plugins">Explicitly disabling automatic pytest plugins</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#expert-disabling-plugin-autoloading-entirely">Expert: disabling plugin autoloading entirely</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#typeerror-make-test-flaky-got-an-unexpected-keyword-argument-reruns">TypeError: _make_test_flaky() got an unexpected keyword argument ‘reruns’</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#importpathmismatcherror">ImportPathMismatchError</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#fixture-not-found">fixture ‘…’ not found</a></li>
<li class="toctree-l2"><a class="reference internal" href="pytest.html#warnings">Warnings</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="concept.html">Advanced concepts</a><ul>
<li class="toctree-l2"><a class="reference internal" href="concept.html#namespace-packages">Namespace packages</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="expert-multi.html">Expert python-r1 usage</a><ul>
<li class="toctree-l2"><a class="reference internal" href="expert-multi.html#partially-restricting-python-implementation">Partially restricting Python implementation</a></li>
<li class="toctree-l2"><a class="reference internal" href="expert-multi.html#restricting-interpreters-for-python-setup">Restricting interpreters for python_setup</a></li>
<li class="toctree-l2"><a class="reference internal" href="expert-multi.html#disjoint-build-dependencies-any-r1-api">Disjoint build dependencies (any-r1 API)</a></li>
<li class="toctree-l2"><a class="reference internal" href="expert-multi.html#combining-any-r1-api-with-implementation-restrictions">Combining any-r1 API with implementation restrictions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="buildsys.html">Integration with build systems written in Python</a><ul>
<li class="toctree-l2"><a class="reference internal" href="buildsys.html#meson">Meson</a></li>
<li class="toctree-l2"><a class="reference internal" href="buildsys.html#scons">SCons</a></li>
<li class="toctree-l2"><a class="reference internal" href="buildsys.html#waf">waf</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="porting.html">Porting tips</a><ul>
<li class="toctree-l2"><a class="reference internal" href="porting.html#retroactive-changes">Retroactive changes</a></li>
<li class="toctree-l2"><a class="reference internal" href="porting.html#python-3-11">Python 3.11</a></li>
<li class="toctree-l2"><a class="reference internal" href="porting.html#python-3-10">Python 3.10</a></li>
<li class="toctree-l2"><a class="reference internal" href="porting.html#python-3-9">Python 3.9</a></li>
<li class="toctree-l2"><a class="reference internal" href="porting.html#python-3-8">Python 3.8</a></li>
<li class="toctree-l2"><a class="reference internal" href="porting.html#replacing-the-toml-package">Replacing the toml package</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="migration.html">Migration guides</a><ul>
<li class="toctree-l2"><a class="reference internal" href="migration.html#migrating-from-old-python-usedep-syntax-in-python-single-r1">Migrating from old PYTHON_USEDEP syntax in python-single-r1</a></li>
<li class="toctree-l2"><a class="reference internal" href="migration.html#migrating-from-eapi-7-to-eapi-8">Migrating from EAPI 7 to EAPI 8</a></li>
<li class="toctree-l2"><a class="reference internal" href="migration.html#migrating-to-pep-517-builds">Migrating to PEP 517 builds</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="qawarn.html">QA checks and warnings</a><ul>
<li class="toctree-l2"><a class="reference internal" href="qawarn.html#improved-qa-warning-reporting-in-portage">Improved QA warning reporting in Portage</a></li>
<li class="toctree-l2"><a class="reference internal" href="qawarn.html#compiled-bytecode-related-warnings">Compiled bytecode-related warnings</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="package-maintenance.html">Python package maintenance</a><ul>
<li class="toctree-l2"><a class="reference internal" href="package-maintenance.html#support-for-python-2">Support for Python 2</a></li>
<li class="toctree-l2"><a class="reference internal" href="package-maintenance.html#which-implementations-to-test-new-packages-for">Which implementations to test new packages for?</a></li>
<li class="toctree-l2"><a class="reference internal" href="package-maintenance.html#adding-new-python-implementations-to-existing-packages">Adding new Python implementations to existing packages</a></li>
<li class="toctree-l2"><a class="reference internal" href="package-maintenance.html#which-packages-can-be-co-maintained-by-the-python-project">Which packages can be (co-)maintained by the Python project?</a></li>
<li class="toctree-l2"><a class="reference internal" href="package-maintenance.html#porting-packages-to-a-new-eapi">Porting packages to a new EAPI</a></li>
<li class="toctree-l2"><a class="reference internal" href="package-maintenance.html#monitoring-new-package-versions">Monitoring new package versions</a></li>
<li class="toctree-l2"><a class="reference internal" href="package-maintenance.html#routine-checks-on-installed-python-packages">Routine checks on installed Python packages</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="interpreter-maintenance.html">Maintenance of Python implementations</a><ul>
<li class="toctree-l2"><a class="reference internal" href="interpreter-maintenance.html#notes-specific-to-python-interpreters">Notes specific to Python interpreters</a></li>
<li class="toctree-l2"><a class="reference internal" href="interpreter-maintenance.html#adding-a-new-python-implementation">Adding a new Python implementation</a></li>
<li class="toctree-l2"><a class="reference internal" href="interpreter-maintenance.html#python-build-system-bootstrap">Python build system bootstrap</a></li>
</ul>
</li>
</ul>
</div>
<section id="indices-and-tables">
<h2>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this heading"></a></h2>
<ul class="simple">
<li><p><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></p></li>
<li><p><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></p></li>
</ul>
</section>
</section>


          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="#">Gentoo Python Guide</a></h1>








<h3>Navigation</h3>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="preface.html">Preface</a></li>
<li class="toctree-l1"><a class="reference internal" href="interpreter.html">Python interpreters</a></li>
<li class="toctree-l1"><a class="reference internal" href="eclass.html">Choosing between Python eclasses</a></li>
<li class="toctree-l1"><a class="reference internal" href="basic.html">Common basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="any.html">python-any-r1 — build-time dependency</a></li>
<li class="toctree-l1"><a class="reference internal" href="single.html">python-single-r1 — single-impl packages</a></li>
<li class="toctree-l1"><a class="reference internal" href="multi.html">python-r1 — multi-impl packages</a></li>
<li class="toctree-l1"><a class="reference internal" href="distutils.html">distutils-r1 — standard Python build systems</a></li>
<li class="toctree-l1"><a class="reference internal" href="distutils-legacy.html">distutils-r1 legacy concepts</a></li>
<li class="toctree-l1"><a class="reference internal" href="helper.html">Common helper functions</a></li>
<li class="toctree-l1"><a class="reference internal" href="depend.html">Advanced dependencies</a></li>
<li class="toctree-l1"><a class="reference internal" href="test.html">Resolving test suite problems</a></li>
<li class="toctree-l1"><a class="reference internal" href="pytest.html">pytest recipes</a></li>
<li class="toctree-l1"><a class="reference internal" href="concept.html">Advanced concepts</a></li>
<li class="toctree-l1"><a class="reference internal" href="expert-multi.html">Expert python-r1 usage</a></li>
<li class="toctree-l1"><a class="reference internal" href="buildsys.html">Integration with build systems written in Python</a></li>
<li class="toctree-l1"><a class="reference internal" href="porting.html">Porting tips</a></li>
<li class="toctree-l1"><a class="reference internal" href="migration.html">Migration guides</a></li>
<li class="toctree-l1"><a class="reference internal" href="qawarn.html">QA checks and warnings</a></li>
<li class="toctree-l1"><a class="reference internal" href="package-maintenance.html">Python package maintenance</a></li>
<li class="toctree-l1"><a class="reference internal" href="interpreter-maintenance.html">Maintenance of Python implementations</a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="#">Documentation overview</a><ul>
      <li>Next: <a href="preface.html" title="next chapter">Preface</a></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2020, Michał Górny, license: CC BY 4.0.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 5.3.0</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
      
      |
      <a href="_sources/index.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>