File: tox.ini

package info (click to toggle)
python-dtcwt 0.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 8,404 kB
  • sloc: python: 6,253; sh: 29; makefile: 13
file content (22 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[tox]
envlist=py{27,3}{,-opencl,-tf},docs

[testenv:docs]
deps=
    {[testenv]deps}
    -rtests/docs-requirements.txt
commands=
    python setup.py build_sphinx

[testenv:python3]
basepython=python3

[testenv]
deps=
    -rtests/requirements.txt
commands=
    # We can't list these in deps since pyopencl moans if numpy is not
    # fully installed at pip-install time.
    py{27,3}-opencl: pip install -rtests/opencl-requirements.txt
    py{27,3}-tf: pip install -rtests/tf-requirements.txt
    py.test --cov=dtcwt/ --cov-report=term {posargs}