From 452b0fe53488b142aee7c860d7df3e5b6c61d420 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 17 Apr 2017 16:03:57 +0000 Subject: [PATCH] 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. --- .gitignore | 4 ++++ tox.ini | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- 2.11.0