1# content of: tox.ini , put in same dir as setup.py 2[tox] 3envlist = py3 4 5[testenv] 6# install pytest in the virtualenv where commands will be executed 7deps = pytest 8 pytest-mock 9platform = linux|darwin 10extras = tests 11setenv = 12 PIP_EXTRA_INDEX_URL = {toxinidir}/repo/simple 13passenv = * 14commands = 15 # NOTE: you can run any command line tool here - not just tests 16 pytest 17 18[pytest] 19norecursedirs = docs *.egg-info .git src js venv py2 py.tox 20log_format = %(asctime)s {%(pathname)s:%(lineno)d} %(levelname)s %(message)s 21log_date_format = %Y-%m-%d %H:%M:%S 22log_level = INFO 23# Enable log cli if you want to see logs as you go. 24#log_cli = True 25 26