summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--MANIFEST.in1
-rw-r--r--tox.ini23
3 files changed, 25 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 0d20b64..4141e94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
*.pyc
+.tox
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..7152b80
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1 @@
+include README.md LICENSE \ No newline at end of file
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..e3f35cc
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,23 @@
+# 'Tox' is a tool for automating build/test cycles against
+# multiple Python versions:
+# http://pypi.python.org/pypi/tox
+# http://tox.readthedocs.io/en/latest/
+
+# Running the command 'tox' while in the root of the virt-bootstrap
+# source directory will:
+# - Create a source distribution (setup.py sdist)
+# - Then for every supported version of Python:
+# - Create a virtualenv in .tox/py$VERSION and install dependencies.
+# (These virtualenvs are cached across runs unless you use
+# --recreate.)
+# - Use pip to install the virt-bootstrap sdist into the virtualenv
+# - Run the virt-bootstrap tests
+
+# To run against a specific subset of Python versions, use:
+# tox -e py27
+
+[tox]
+envlist = py27,py3
+
+[testenv]
+commands={envpython} {toxinidir}/setup.py test