From 98970eeb5c473e1f7cfd46c11ece106b0648000a Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Fri, 12 Apr 2024 20:09:15 +0100 Subject: [PATCH] Issue #62: Update Python=3.10 in tox.ini. --- tox.ini | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/tox.ini b/tox.ini index 2d4efd3..d51a905 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,14 @@ # content of: tox.ini , put in same dir as setup.py [tox] -envlist = py37,lint +envlist = test,lint skipsdist = True -requires = setuptools >= 47.1 - -[travis] -python = - 3.7: py37, docs, lint [testenv] +basepython=python3.10 +passenv = * deps=-rrequirements-dev.txt + +[testenv:test] whitelist_externals=coverage,pip commands_pre=ipython kernel install --user --name=sksurgerycalibration # See .coveragerc for list of omitted files @@ -18,23 +17,8 @@ commands = coverage erase coverage report -m [testenv:lint] -basepython=python3.7 -deps=pylint - {[testenv]deps} commands=pylint --rcfile=tests/pylintrc sksurgerycalibration tests [testenv:docs] -basepython=python3.7 changedir = docs commands = sphinx-build -M html . build - -[testenv:installer] -basepython=python3.7 -commands=pyinstaller --onefile sksurgerycalibration.py --noconfirm --windowed - -[testenv:pip3] -basepython=python3.7 -changedir=pip_test -skip_install=True -commands = pip install {posargs} - sksurgerycalibration --help