dataCreatingGUI/tox.ini

32 lines
699 B
INI
Raw Normal View History

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打包
2024-02-20 09:45:57 +00:00
{envpython} {toxinidir}/Pyinstaller-main.py Build-DataCreating.spec
2024-02-14 02:47:12 +00:00
# 整体打包
{envpython} {toxinidir}/release.py {envdir} {toxinidir}/dist/dataCreatingGUI {toxinidir}/dist/dataCreatingGUI_v1.0.0 {toxinidir}
2023-11-10 10:17:53 +00:00