File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Python-DeMo
22
3- Python DeMo
3+ ![ Python Logo ] ( https://www.python.org/static/community_logos/python-logo.png " Python DeMo")
44
55- [ 一. 构建` venv ` 环境] ( #一-构建venv环境 )
66 - [ 1.1 venv2] ( #11-venv2 )
Original file line number Diff line number Diff line change 1+ # tox (https://tox.readthedocs.io/) is a tool for running tests
2+ # in multiple virtualenvs. This configuration file will run the
3+ # test suite on all supported python versions. To use it, "pip install tox"
4+ # and then run "tox" from this directory.
5+ # For information see https://tox.readthedocs.io/en/latest/examples.html
6+
7+ [tox]
8+ envlist = py27, py39
9+
10+ minversion = 3.23.1
11+
12+ # Activate isolated build environment. tox will use a virtual environment
13+ # to build a source distribution from the source tree. For build tools and
14+ # arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
15+ isolated_build = true
16+
17+ # install testing framework
18+ # ... or install anything else you might need here
19+ [testenv]
20+ platform = linux: linux
21+ macos: darwin
22+ windows: win32
23+ ; alwayscopy = True
24+ allowlist_externals =
25+ /bin/bash
26+ changedir =
27+ tests
28+ deps =
29+ build
30+ discover
31+ commands =
32+ ; windows: python --version
33+ ; macos,linux: python --version
34+ discover
35+ ; python -m unittest discover
You can’t perform that action at this time.
0 commit comments