From: Jeremy Stanley Date: Mon, 17 Apr 2017 16:03:57 +0000 (+0000) Subject: Add a generic tox env for sdist generation et al X-Git-Tag: 0.0.1~165 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=452b0fe53488b142aee7c860d7df3e5b6c61d420;p=mudpy.git Add a generic tox env for sdist generation et al Add a testenv:venv environment to the tox.ini as a convenience for things like sdist/wheel building or generating documentation. Also add the autogenerated files from running setup.py sdist and bdist_wheel commands to the .gitignore file. --- diff --git a/.gitignore b/.gitignore index 28e167f..15d618f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,8 +5,12 @@ *.egg-info/ .eggs/ .tox/ +AUTHORS +ChangeLog +build/ capture_*.log data/ +dist/ mudpy/__pycache__/ mudpy/tests/__pycache__/ var/ diff --git a/tox.ini b/tox.ini index 90fa750..27668ed 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Jeremy Stanley . Permission +# Copyright (c) 2016-2017 Jeremy Stanley . Permission # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. @@ -20,6 +20,9 @@ commands = python setup.py test --slowest --testr-args='{posargs}' basepython=python3 commands = flake8 {posargs} +[testenv:venv] +commands = {posargs} + [flake8] show-source = True exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build