兼容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] [testenv:devenv]
envdir = devenv envdir = devenv
basepython = python3 basepython = python3.8
usedevelop = True usedevelop = True
#commands =
# {envpython} {toxinidir}/bin/e2f.py
[testenv:devenv2] [testenv:devenv2]
envdir = devenv2 envdir = devenv2
basepython = python2.7 basepython = python2.7
usedevelop = True usedevelop = True
[testenv:py3-release] [testenv:py38-release]
basepython = python3 basepython = python3.8
deps = deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
@ -34,6 +34,15 @@ commands =
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.0 {toxinidir} {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] [testenv:py27-release]
basepython = python2.7 basepython = python2.7
deps = deps =