2023-11-10 10:17:53 +00:00
|
|
|
[tox]
|
|
|
|
envlist = devenv
|
|
|
|
minversion = 1.6
|
|
|
|
skipsdist = False
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
install_command = pip install --force-reinstall -U {opts} {packages}
|
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
NOSE_WITH_COVERAGE=1
|
|
|
|
NOSE_COVER_BRANCHES=1
|
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:devenv]
|
|
|
|
envdir = devenv
|
|
|
|
basepython = python3.8
|
|
|
|
usedevelop = True
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:py38-release]
|
|
|
|
basepython = python3.8
|
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
|
|
|
|
commands =
|
2024-02-14 02:47:12 +00:00
|
|
|
# 先调用pyinstaller打包
|
|
|
|
{envpython} {toxinidir}/DTCPyinstaller.py --clean -y DataCreating_Click.spec
|
|
|
|
# 整体打包
|
|
|
|
{envpython} {toxinidir}/release.py {envdir} {toxinidir}/dist/dataCreatingGUI {toxinidir}/dist/dataCreatingGUI_v1.0.0 {toxinidir}
|
2023-11-10 10:17:53 +00:00
|
|
|
|