Commit 9d1e3aad by Chris Jerdonek

Tweaks to tox comments.

parent 58640f04
...@@ -137,17 +137,19 @@ Test It ...@@ -137,17 +137,19 @@ Test It
Use tox_ to test Pystache with multiple versions of Python all at once! :: Use tox_ to test Pystache with multiple versions of Python all at once! ::
pip install tox pip install tox
tox -e py26,py27 # for example
# Or, if you have all versions of Pythons in tox.ini, simply
tox tox
If you do not have all Python versions listed in ``tox.in``, then
tox -e py26,py27 # for example
To include tests from the Mustache spec in your test runs: :: To include tests from the Mustache spec in your test runs: ::
git submodule init git submodule init
git submodule update git submodule update
You can also test Pystache without tox (but with only a single version of You can also test Pystache without tox (but with only a single version of
Python at a time), as below. First, install Distribute_ :: Python at a time), as below. To do this, install Distribute_ ::
pip install distribute pip install distribute
...@@ -155,11 +157,11 @@ Python at a time), as below. First, install Distribute_ :: ...@@ -155,11 +157,11 @@ Python at a time), as below. First, install Distribute_ ::
Python 2.7 and Later Python 2.7 and Later
-------------------- --------------------
Then run `Distribute's test`_: :: Then run Distribute's test_: ::
python setup.py test python setup.py test
When using Python 3, this runs 2to3_ on the source code automatically. This runs 2to3_ when using Python 3.
Python 2.6 and Earlier Python 2.6 and Earlier
...@@ -193,10 +195,10 @@ Author ...@@ -193,10 +195,10 @@ Author
.. _2to3: http://docs.python.org/library/2to3.html .. _2to3: http://docs.python.org/library/2to3.html
.. _built-in unicode function: http://docs.python.org/library/functions.html#unicode
.. _ctemplate: http://code.google.com/p/google-ctemplate/ .. _ctemplate: http://code.google.com/p/google-ctemplate/
.. _David Phillips: http://davidphillips.us/ .. _David Phillips: http://davidphillips.us/
.. _Distribute: http://pypi.python.org/pypi/distribute .. _Distribute: http://pypi.python.org/pypi/distribute
.. _Distribute's test: http://packages.python.org/distribute/setuptools.html#test
.. _et: http://www.ivan.fomichev.name/2008/05/erlang-template-engine-prototype.html .. _et: http://www.ivan.fomichev.name/2008/05/erlang-template-engine-prototype.html
.. _json: http://docs.python.org/library/json.html .. _json: http://docs.python.org/library/json.html
.. _Mustache: http://mustache.github.com/ .. _Mustache: http://mustache.github.com/
...@@ -208,6 +210,6 @@ Author ...@@ -208,6 +210,6 @@ Author
.. _Pystache: https://github.com/defunkt/pystache .. _Pystache: https://github.com/defunkt/pystache
.. _semantically versioned: http://semver.org .. _semantically versioned: http://semver.org
.. _simplejson: http://pypi.python.org/pypi/simplejson/ .. _simplejson: http://pypi.python.org/pypi/simplejson/
.. _built-in unicode function: http://docs.python.org/library/functions.html#unicode .. _test: http://packages.python.org/distribute/setuptools.html#test
.. _tox: http://pypi.python.org/pypi/tox .. _tox: http://pypi.python.org/pypi/tox
.. _version 1.0.3: https://github.com/mustache/spec/tree/48c933b0bb780875acbfd15816297e263c53d6f7 .. _version 1.0.3: https://github.com/mustache/spec/tree/48c933b0bb780875acbfd15816297e263c53d6f7
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# http://pypi.python.org/pypi/tox # http://pypi.python.org/pypi/tox
# #
[tox] [tox]
envlist = py32,py31,py27,py26,py25,py24 envlist = py24,py25,py26,py27,py31,py32
[testenv] [testenv]
deps = deps =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment