skyline-console/tox.ini
zhu.boxiang 43aabd55d7 chore: Remove poetry
1. remove poetry dependency
2. add requirements.tx, test-requirements.txt, setup.py and setup.cfg
3. add more env into tox.ini
4. add version.py

Change-Id: I00a008a73e4f0676dd846dd1ee8ad460f0842965
2022-05-25 17:15:01 +08:00

37 lines
982 B
INI

[tox]
minversion = 3.18.0
requires = virtualenv>=20.4.2
skipsdist = True
# python runtimes: https://governance.openstack.org/tc/reference/project-testing-interface.html#tested-runtimes
envlist = package
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file
ignore_basepython_conflict=true
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1
usedevelop = True
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
allowlist_externals =
make
passenv = *_proxy *_PROXY
[testenv:package]
commands =
make package
[testenv:releasenotes]
description =
Generate release notes.
commands =
sphinx-build -W --keep-going -b html -j auto releasenotes/source releasenotes/build/html