Update README formatting and make wheels universal

This commit is contained in:
Monty Taylor 2016-10-13 11:50:15 -05:00
parent 9b92de5f0f
commit 2757b2848f
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 16 additions and 9 deletions

View File

@ -4,26 +4,30 @@ ttrun
Simple CLI to run testtools tests Simple CLI to run testtools tests
In a testrepository based workflow, sometimes you want/need to run individual In a `testrepository` based workflow, sometimes you want/need to run individual
tests outside of the construct of testtools. Additionally, someitmes you want tests. Additionally, someitmes you want to use a pre-existing tox virtualenv
to use a pre-existing tox virtualenv to do so. Or, at least, I do. to do so. Or, at least, I do.
Typing: Typing
::
.. code-block:: bash
.tox/py27/bin/python -m testtools.run some.test .tox/py27/bin/python -m testtools.run some.test
Got boring. So this is a simple wrapper. Got boring. So this is a simple wrapper.
It has two modes: It has two modes.
::
.. code-block:: bash
ttrun some.test ttrun some.test
Will run that test with the system python. 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 ttrun -epy27 some.test
Will run some.test in the given tox venv. Will run some.test in the given tox venv.

View File

@ -24,3 +24,6 @@ packages =
[entry_points] [entry_points]
console_scripts = console_scripts =
ttrun = ttrun.cmd:main ttrun = ttrun.cmd:main
[wheel]
universal = 1