File: tox.ini

package info (click to toggle)
python-greenlet 3.2.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,096 kB
  • sloc: cpp: 5,078; python: 3,197; ansic: 1,129; makefile: 145; asm: 120; sh: 72
file content (23 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
envlist =
    py{37,38,39,310,311,312,313},py{310,311,312,313}-ns,docs

[testenv]
commands =
    python -c 'import greenlet._greenlet as G; assert G.GREENLET_USE_STANDARD_THREADING'
    python -m unittest discover -v greenlet.tests
    sphinx-build -b doctest -d docs/_build/doctrees-{envname} docs docs/_build/doctest-{envname}
sitepackages = False
extras =
    test
    docs



[testenv:docs]
# usedevelop to save rebuilding the extension
usedevelop = true
commands =
    sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
    sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
extras = docs