From 2757b2848f58c383db69872cc223d98566c46e88 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 13 Oct 2016 11:50:15 -0500 Subject: Update README formatting and make wheels universal --- README.rst | 22 +++++++++++++--------- setup.cfg | 3 +++ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.rst b/README.rst index abab058..7052250 100644 --- a/README.rst +++ b/README.rst @@ -4,26 +4,30 @@ ttrun Simple CLI to run testtools tests -In a testrepository based workflow, sometimes you want/need to run individual -tests outside of the construct of testtools. Additionally, someitmes you want -to use a pre-existing tox virtualenv to do so. Or, at least, I do. +In a `testrepository` based workflow, sometimes you want/need to run individual +tests. Additionally, someitmes you want to use a pre-existing tox virtualenv +to do so. Or, at least, I do. -Typing: -:: +Typing + +.. code-block:: bash .tox/py27/bin/python -m testtools.run some.test Got boring. So this is a simple wrapper. -It has two modes: -:: +It has two modes. + +.. code-block:: bash ttrun some.test Will run that test with the system python. -If you want to re-use a tox virtualenv: -:: +If you want to re-use a tox virtualenv. + +.. code-block:: bash + ttrun -epy27 some.test Will run some.test in the given tox venv. diff --git a/setup.cfg b/setup.cfg index 8302252..f38e27f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,3 +24,6 @@ packages = [entry_points] console_scripts = ttrun = ttrun.cmd:main + +[wheel] +universal = 1 -- cgit v1.2.3