17 Star 0 Fork 1

openKylin/python-importlib-metadata

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tox.ini 985 Bytes
一键复制 编辑 原始数据 按行查看 历史
LLL 提交于 2022-09-07 14:34 . Import Upstream version 4.12.0
[tox]
envlist = python
minversion = 3.2
# https://github.com/jaraco/skeleton/issues/6
tox_pip_extensions_ext_venv_update = true
toxworkdir={env:TOX_WORK_DIR:.tox}
[testenv]
deps =
commands =
pytest {posargs}
passenv =
HOME
usedevelop = True
extras = testing
[testenv:docs]
extras =
docs
testing
changedir = docs
commands =
python -m sphinx -W --keep-going . {toxinidir}/build/html
[testenv:diffcov]
deps =
diff-cover
commands =
pytest {posargs} --cov-report xml
diff-cover coverage.xml --compare-branch=origin/main --html-report diffcov.html
diff-cover coverage.xml --compare-branch=origin/main --fail-under=100
[testenv:release]
skip_install = True
deps =
build
twine>=3
jaraco.develop>=7.1
passenv =
TWINE_PASSWORD
GITHUB_TOKEN
setenv =
TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
commands =
python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
python -m build
python -m twine upload dist/*
python -m jaraco.develop.create-github-release
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/python-importlib-metadata.git
git@gitee.com:openkylin/python-importlib-metadata.git
openkylin
python-importlib-metadata
python-importlib-metadata
openkylin/yangtze

搜索帮助