兼容py38

This commit is contained in:
halliday 2023-11-10 15:21:51 +08:00
parent e5e0392e93
commit ca197e8161
1 changed files with 15 additions and 6 deletions

21
tox.ini
View File

@ -14,19 +14,19 @@ deps =
[testenv:devenv]
envdir = devenv
basepython = python3
basepython = python3.8
usedevelop = True
#commands =
# {envpython} {toxinidir}/bin/e2f.py
[testenv:devenv2]
envdir = devenv2
basepython = python2.7
usedevelop = True
[testenv:py3-release]
basepython = python3
[testenv:py38-release]
basepython = python3.8
deps =
-r{toxinidir}/requirements.txt
@ -34,6 +34,15 @@ commands =
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.0 {toxinidir}
[testenv:py310-release]
basepython = python3.10
deps =
-r{toxinidir}/requirements.txt
commands =
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.0 {toxinidir}
[testenv:py27-release]
basepython = python2.7
deps =