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
|
[tox]
envlist =
py{36,37,38}-{codestyle,test,docs}-{pyqt57,pyqt58,pyqt59,pyqt510,pyqt511,pyqt512,pyqt513,pyside511,pyside512,pyside513}-all-{dev,legacy}
requires = pip >= 18.0
setuptools >= 30.3.0
[testenv]
passenv =
DISPLAY
HOME
whitelist_externals =
find
rm
sed
make
changedir =
test: .tmp/{envname}
docs: doc
deps =
pyqt59: PyQt5==5.9.*
pyqt510: PyQt5==5.10.*
pyqt511: PyQt5==5.11.*
pyqt512: PyQt5==5.12.*
pyqt513: PyQt5==5.13.*
pyqt514: PyQt5==5.14.*
pyside511: PySide2==5.11.*
pyside512: PySide2==5.12.*
pyside513: PySide2==5.13.*
pyside514: PySide2==5.14.*
dev: git+https://github.com/numpy/numpy
dev: git+https://github.com/astropy/astropy
legacy: numpy==1.16.*
legacy: matplotlib==3.2.*
legacy: scipy==1.0.*
legacy: pandas==1.0.*
legacy: echo==0.5.*
legacy: astropy==4.0.*
legacy: setuptools==30.3.*
legacy: qtpy==1.9.*
legacy: ipython==7.16.*
legacy: ipykernel==5.3.*
legacy: qtconsole==4.3.*
legacy: dill==0.2.*
legacy: xlrd==1.2.*
legacy: h5py==2.10.*
legacy: mpl-scatter-density==0.7.*
legacy: bottleneck==1.2.*
all: pytest-qt
extras =
test
all: all
docs: docs
commands =
test: pip freeze
test: pytest --pyargs glue --cov glue --cov-config={toxinidir}/setup.cfg {posargs}
docs: sphinx-build -W -n -b html -d _build/doctrees . _build/html
[testenv:codestyle]
deps = flake8
skipsdist = true
skip_install = true
commands =
flake8 --max-line-length=100 --exclude=external glue doc
|