This file is indexed.

/usr/share/doc/tox/html/plugins.html is in tox 2.3.1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>tox plugins &mdash; tox 2.3.1 documentation</title>
    
    <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '2.3.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="tox 2.3.1 documentation" href="index.html" />
    <link rel="next" title="Writing a json result file" href="example/result.html" />
    <link rel="prev" title="&lt;no title&gt;" href="links.html" /> 
  </head>
  <body role="document">
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="example/result.html" title="Writing a json result file"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="links.html" title="&lt;no title&gt;"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">tox 2.3.1 documentation</a> &raquo;</li> 
      </ul>
    </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<div id="searchbox" style="display: none">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Search" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>

<h3>quicklinks</h3>
<div style="text-align: left; font-size: 100%; vertical-align: middle;">
<table>
<tr>
<td>
        <a href="index.html">home</a>
</td><td>
        <a href="examples.html">examples</a>
</td></tr><tr><td>
        <a href="install.html">install</a>
</td><td>
        <a href="changelog.html">changelog</a>
</td></tr><tr><td>
        <a href="config.html">config</a>
</td><td>
        <a href="https://bitbucket.org/hpk42/tox/issues?status=new&status=open">issues[bb]</a>
</td></tr><tr><td>
        <a href="support.html">support</a>
</td><td>
</td></tr></table>
</div>

  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">tox plugins</a><ul>
<li><a class="reference internal" href="#writing-a-setuptools-entrypoints-plugin">writing a setuptools entrypoints plugin</a></li>
<li><a class="reference internal" href="#writing-hook-implementations">Writing hook implementations</a></li>
<li><a class="reference internal" href="#module-tox.hookspecs">tox hook specifications and related API</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="links.html"
                        title="previous chapter">&lt;no title&gt;</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="example/result.html"
                        title="next chapter">Writing a json result file</a></p>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="tox-plugins">
<h1>tox plugins<a class="headerlink" href="#tox-plugins" title="Permalink to this headline"></a></h1>
<div class="versionadded">
<p><span class="versionmodified">New in version 2.0.</span></p>
</div>
<p>With tox-2.0 a few aspects of tox running can be experimentally modified
by writing hook functions.  The list of of available hook function is
to grow over time on a per-need basis.</p>
<div class="section" id="writing-a-setuptools-entrypoints-plugin">
<h2>writing a setuptools entrypoints plugin<a class="headerlink" href="#writing-a-setuptools-entrypoints-plugin" title="Permalink to this headline"></a></h2>
<p>If you have a <code class="docutils literal"><span class="pre">tox_MYPLUGIN.py</span></code> module you could use the following
rough <code class="docutils literal"><span class="pre">setup.py</span></code> to make it into a package which you can upload to the
Python packaging index:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="c1"># content of setup.py</span>
<span class="kn">from</span> <span class="nn">setuptools</span> <span class="kn">import</span> <span class="n">setup</span>

<span class="k">if</span> <span class="n">__name__</span> <span class="o">==</span> <span class="s2">&quot;__main__&quot;</span><span class="p">:</span>
    <span class="n">setup</span><span class="p">(</span>
        <span class="n">name</span><span class="o">=</span><span class="s1">&#39;tox-MYPLUGIN&#39;</span><span class="p">,</span>
        <span class="n">description</span><span class="o">=</span><span class="s1">&#39;tox plugin decsription&#39;</span><span class="p">,</span>
        <span class="n">license</span><span class="o">=</span><span class="s2">&quot;MIT license&quot;</span><span class="p">,</span>
        <span class="n">version</span><span class="o">=</span><span class="s1">&#39;0.1&#39;</span><span class="p">,</span>
        <span class="n">py_modules</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;tox_MYPLUGIN&#39;</span><span class="p">],</span>
        <span class="n">entry_points</span><span class="o">=</span><span class="p">{</span><span class="s1">&#39;tox&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s1">&#39;MYPLUGIN = tox_MYPLUGIN&#39;</span><span class="p">]},</span>
        <span class="n">install_requires</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;tox&gt;=2.0&#39;</span><span class="p">],</span>
    <span class="p">)</span>
</pre></div>
</div>
<p>If installed, the <code class="docutils literal"><span class="pre">entry_points</span></code> part will make tox see and integrate
your plugin during startup.</p>
<p>You can install the plugin for development (&#8220;in-place&#8221;) via:</p>
<div class="highlight-python"><div class="highlight"><pre>pip install -e .
</pre></div>
</div>
<p>and later publish it via something like:</p>
<div class="highlight-python"><div class="highlight"><pre>python setup.py sdist register upload
</pre></div>
</div>
</div>
<div class="section" id="writing-hook-implementations">
<h2>Writing hook implementations<a class="headerlink" href="#writing-hook-implementations" title="Permalink to this headline"></a></h2>
<p>A plugin module defines one or more hook implementation functions
by decorating them with tox&#8217;s <code class="docutils literal"><span class="pre">hookimpl</span></code> marker:</p>
<div class="highlight-python"><div class="highlight"><pre>from tox import hookimpl

@hookimpl
def tox_addoption(parser):
    # add your own command line options


@hookimpl
def tox_configure(config):
    # post process tox configuration after cmdline/ini file have
    # been parsed
</pre></div>
</div>
<p>If you put this into a module and make it pypi-installable with the <code class="docutils literal"><span class="pre">tox</span></code>
entry point you&#8217;ll get your code executed as part of a tox run.</p>
</div>
<div class="section" id="module-tox.hookspecs">
<span id="tox-hook-specifications-and-related-api"></span><h2>tox hook specifications and related API<a class="headerlink" href="#module-tox.hookspecs" title="Permalink to this headline"></a></h2>
<p>Hook specifications for tox.</p>
<dl class="function">
<dt id="tox.hookspecs.tox_addoption">
<code class="descclassname">tox.hookspecs.</code><code class="descname">tox_addoption</code><span class="sig-paren">(</span><em>parser</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/hookspecs.html#tox_addoption"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.hookspecs.tox_addoption" title="Permalink to this definition"></a></dt>
<dd><p>add command line options to the argparse-style parser object.</p>
</dd></dl>

<dl class="function">
<dt id="tox.hookspecs.tox_configure">
<code class="descclassname">tox.hookspecs.</code><code class="descname">tox_configure</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/hookspecs.html#tox_configure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.hookspecs.tox_configure" title="Permalink to this definition"></a></dt>
<dd><p>called after command line options have been parsed and the ini-file has
been read.  Please be aware that the config object layout may change as its
API was not designed yet wrt to providing stability (it was an internal
thing purely before tox-2.0).</p>
</dd></dl>

<dl class="function">
<dt id="tox.hookspecs.tox_get_python_executable">
<code class="descclassname">tox.hookspecs.</code><code class="descname">tox_get_python_executable</code><span class="sig-paren">(</span><em>envconfig</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/hookspecs.html#tox_get_python_executable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.hookspecs.tox_get_python_executable" title="Permalink to this definition"></a></dt>
<dd><p>return a python executable for the given python base name.
The first plugin/hook which returns an executable path will determine it.</p>
<p><code class="docutils literal"><span class="pre">envconfig</span></code> is the testenv configuration which contains
per-testenv configuration, notably the <code class="docutils literal"><span class="pre">.envname</span></code> and <code class="docutils literal"><span class="pre">.basepython</span></code>
setting.</p>
</dd></dl>

<dl class="function">
<dt id="tox.hookspecs.tox_testenv_create">
<code class="descclassname">tox.hookspecs.</code><code class="descname">tox_testenv_create</code><span class="sig-paren">(</span><em>venv</em>, <em>action</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/hookspecs.html#tox_testenv_create"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.hookspecs.tox_testenv_create" title="Permalink to this definition"></a></dt>
<dd><p>[experimental] perform creation action for this venv.</p>
</dd></dl>

<dl class="function">
<dt id="tox.hookspecs.tox_testenv_install_deps">
<code class="descclassname">tox.hookspecs.</code><code class="descname">tox_testenv_install_deps</code><span class="sig-paren">(</span><em>venv</em>, <em>action</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/hookspecs.html#tox_testenv_install_deps"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.hookspecs.tox_testenv_install_deps" title="Permalink to this definition"></a></dt>
<dd><p>[experimental] perform install dependencies action for this venv.</p>
</dd></dl>

<dl class="class">
<dt id="tox.config.Parser">
<em class="property">class </em><code class="descclassname">tox.config.</code><code class="descname">Parser</code><a class="reference internal" href="_modules/tox/config.html#Parser"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.Parser" title="Permalink to this definition"></a></dt>
<dd><p>command line and ini-parser control object.</p>
<dl class="method">
<dt id="tox.config.Parser.add_argument">
<code class="descname">add_argument</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/config.html#Parser.add_argument"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.Parser.add_argument" title="Permalink to this definition"></a></dt>
<dd><p>add argument to command line parser.  This takes the
same arguments that <code class="docutils literal"><span class="pre">argparse.ArgumentParser.add_argument</span></code>.</p>
</dd></dl>

<dl class="method">
<dt id="tox.config.Parser.add_testenv_attribute">
<code class="descname">add_testenv_attribute</code><span class="sig-paren">(</span><em>name</em>, <em>type</em>, <em>help</em>, <em>default=None</em>, <em>postprocess=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/config.html#Parser.add_testenv_attribute"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.Parser.add_testenv_attribute" title="Permalink to this definition"></a></dt>
<dd><p>add an ini-file variable for &#8220;testenv&#8221; section.</p>
<p>Types are specified as strings like &#8220;bool&#8221;, &#8220;line-list&#8221;, &#8220;string&#8221;, &#8220;argv&#8221;, &#8220;path&#8221;,
&#8220;argvlist&#8221;.</p>
<p>The <code class="docutils literal"><span class="pre">postprocess</span></code> function will be called for each testenv
like <code class="docutils literal"><span class="pre">postprocess(testenv_config=testenv_config,</span> <span class="pre">value=value)</span></code>
where <code class="docutils literal"><span class="pre">value</span></code> is the value as read from the ini (or the default value)
and <code class="docutils literal"><span class="pre">testenv_config</span></code> is a <a class="reference internal" href="#tox.config.TestenvConfig" title="tox.config.TestenvConfig"><code class="xref py py-class docutils literal"><span class="pre">tox.config.TestenvConfig</span></code></a> instance
which will receive all ini-variables as object attributes.</p>
<p>Any postprocess function must return a value which will then be set
as the final value in the testenv section.</p>
</dd></dl>

<dl class="method">
<dt id="tox.config.Parser.add_testenv_attribute_obj">
<code class="descname">add_testenv_attribute_obj</code><span class="sig-paren">(</span><em>obj</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/config.html#Parser.add_testenv_attribute_obj"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.Parser.add_testenv_attribute_obj" title="Permalink to this definition"></a></dt>
<dd><p>add an ini-file variable as an object.</p>
<p>This works as the <code class="docutils literal"><span class="pre">add_testenv_attribute</span></code> function but expects
&#8220;name&#8221;, &#8220;type&#8221;, &#8220;help&#8221;, and &#8220;postprocess&#8221; attributes on the object.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="tox.config.Config">
<em class="property">class </em><code class="descclassname">tox.config.</code><code class="descname">Config</code><a class="reference internal" href="_modules/tox/config.html#Config"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.Config" title="Permalink to this definition"></a></dt>
<dd><p>Global Tox config object.</p>
<dl class="attribute">
<dt id="tox.config.Config.envconfigs">
<code class="descname">envconfigs</code><em class="property"> = None</em><a class="headerlink" href="#tox.config.Config.envconfigs" title="Permalink to this definition"></a></dt>
<dd><p>dictionary containing envname to envconfig mappings</p>
</dd></dl>

<dl class="attribute">
<dt id="tox.config.Config.option">
<code class="descname">option</code><em class="property"> = None</em><a class="headerlink" href="#tox.config.Config.option" title="Permalink to this definition"></a></dt>
<dd><p>option namespace containing all parsed command line options</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="tox.config.TestenvConfig">
<em class="property">class </em><code class="descclassname">tox.config.</code><code class="descname">TestenvConfig</code><a class="reference internal" href="_modules/tox/config.html#TestenvConfig"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.TestenvConfig" title="Permalink to this definition"></a></dt>
<dd><p>Testenv Configuration object.
In addition to some core attributes/properties this config object holds all
per-testenv ini attributes as attributes, see &#8220;tox &#8211;help-ini&#8221; for an overview.</p>
<dl class="attribute">
<dt id="tox.config.TestenvConfig.config">
<code class="descname">config</code><em class="property"> = None</em><a class="headerlink" href="#tox.config.TestenvConfig.config" title="Permalink to this definition"></a></dt>
<dd><p>global tox config object</p>
</dd></dl>

<dl class="attribute">
<dt id="tox.config.TestenvConfig.envname">
<code class="descname">envname</code><em class="property"> = None</em><a class="headerlink" href="#tox.config.TestenvConfig.envname" title="Permalink to this definition"></a></dt>
<dd><p>test environment name</p>
</dd></dl>

<dl class="attribute">
<dt id="tox.config.TestenvConfig.envpython">
<code class="descname">envpython</code><a class="headerlink" href="#tox.config.TestenvConfig.envpython" title="Permalink to this definition"></a></dt>
<dd><p>path to python executable.</p>
</dd></dl>

<dl class="attribute">
<dt id="tox.config.TestenvConfig.factors">
<code class="descname">factors</code><em class="property"> = None</em><a class="headerlink" href="#tox.config.TestenvConfig.factors" title="Permalink to this definition"></a></dt>
<dd><p>set of factors</p>
</dd></dl>

<dl class="method">
<dt id="tox.config.TestenvConfig.get_envbindir">
<code class="descname">get_envbindir</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/config.html#TestenvConfig.get_envbindir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.TestenvConfig.get_envbindir" title="Permalink to this definition"></a></dt>
<dd><p>path to directory where scripts/binaries reside.</p>
</dd></dl>

<dl class="method">
<dt id="tox.config.TestenvConfig.get_envpython">
<code class="descname">get_envpython</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/config.html#TestenvConfig.get_envpython"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.TestenvConfig.get_envpython" title="Permalink to this definition"></a></dt>
<dd><p>path to python/jython executable.</p>
</dd></dl>

<dl class="method">
<dt id="tox.config.TestenvConfig.get_envsitepackagesdir">
<code class="descname">get_envsitepackagesdir</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/config.html#TestenvConfig.get_envsitepackagesdir"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.config.TestenvConfig.get_envsitepackagesdir" title="Permalink to this definition"></a></dt>
<dd><p>return sitepackagesdir of the virtualenv environment.
(only available during execution, not parsing)</p>
</dd></dl>

<dl class="attribute">
<dt id="tox.config.TestenvConfig.python_info">
<code class="descname">python_info</code><a class="headerlink" href="#tox.config.TestenvConfig.python_info" title="Permalink to this definition"></a></dt>
<dd><p>return sitepackagesdir of the virtualenv environment.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="tox.venv.VirtualEnv">
<em class="property">class </em><code class="descclassname">tox.venv.</code><code class="descname">VirtualEnv</code><a class="reference internal" href="_modules/tox/venv.html#VirtualEnv"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.venv.VirtualEnv" title="Permalink to this definition"></a></dt>
<dd><dl class="method">
<dt id="tox.venv.VirtualEnv.getcommandpath">
<code class="descname">getcommandpath</code><span class="sig-paren">(</span><em>name</em>, <em>venv=True</em>, <em>cwd=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/venv.html#VirtualEnv.getcommandpath"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.venv.VirtualEnv.getcommandpath" title="Permalink to this definition"></a></dt>
<dd><p>return absolute path (str or localpath) for specified
command name.  If it&#8217;s a localpath we will rewrite it as
as a relative path.  If venv is True we will check if the
command is coming from the venv or is whitelisted to come
from external.</p>
</dd></dl>

<dl class="attribute">
<dt id="tox.venv.VirtualEnv.name">
<code class="descname">name</code><a class="headerlink" href="#tox.venv.VirtualEnv.name" title="Permalink to this definition"></a></dt>
<dd><p>test environment name.</p>
</dd></dl>

<dl class="attribute">
<dt id="tox.venv.VirtualEnv.path">
<code class="descname">path</code><a class="headerlink" href="#tox.venv.VirtualEnv.path" title="Permalink to this definition"></a></dt>
<dd><p>Path to environment base dir.</p>
</dd></dl>

<dl class="method">
<dt id="tox.venv.VirtualEnv.update">
<code class="descname">update</code><span class="sig-paren">(</span><em>action</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/venv.html#VirtualEnv.update"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.venv.VirtualEnv.update" title="Permalink to this definition"></a></dt>
<dd><p>return status string for updating actual venv to match configuration.
if status string is empty, all is ok.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="tox.session.Session">
<em class="property">class </em><code class="descclassname">tox.session.</code><code class="descname">Session</code><a class="reference internal" href="_modules/tox/session.html#Session"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.session.Session" title="Permalink to this definition"></a></dt>
<dd><p>(unstable API).  the session object that ties
together configuration, reporting, venv creation, testing.</p>
<dl class="method">
<dt id="tox.session.Session.get_installpkg_path">
<code class="descname">get_installpkg_path</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/session.html#Session.get_installpkg_path"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.session.Session.get_installpkg_path" title="Permalink to this definition"></a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Path to the distribution</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">py.path.local</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="tox.session.Session.getvenv">
<code class="descname">getvenv</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/session.html#Session.getvenv"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.session.Session.getvenv" title="Permalink to this definition"></a></dt>
<dd><p>return a VirtualEnv controler object for the &#8216;name&#8217; env.</p>
</dd></dl>

<dl class="method">
<dt id="tox.session.Session.installpkg">
<code class="descname">installpkg</code><span class="sig-paren">(</span><em>venv</em>, <em>path</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/tox/session.html#Session.installpkg"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#tox.session.Session.installpkg" title="Permalink to this definition"></a></dt>
<dd><p>Install package in the specified virtual environment.</p>
<p>:param <code class="xref py py-class docutils literal"><span class="pre">tox.config.VenvConfig</span></code>: Destination environment
:param str path: Path to the distribution package.
:return: True if package installed otherwise False.
:rtype: bool</p>
</dd></dl>

</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="example/result.html" title="Writing a json result file"
             >next</a> |</li>
        <li class="right" >
          <a href="links.html" title="&lt;no title&gt;"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">tox 2.3.1 documentation</a> &raquo;</li> 
      </ul>
    </div>

    <div class="footer" role="contentinfo">
        &copy; Copyright 2015, holger krekel and others.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.5.
    </div>

  </body>
</html>