Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pystache_custom
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pystache_custom
Commits
9d1e3aad
Commit
9d1e3aad
authored
Apr 10, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaks to tox comments.
parent
58640f04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
README.rst
+9
-7
tox.ini
+1
-1
No files found.
README.rst
View file @
9d1e3aad
...
@@ -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
tox.ini
View file @
9d1e3aad
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
# http://pypi.python.org/pypi/tox
# http://pypi.python.org/pypi/tox
#
#
[tox]
[tox]
envlist
=
py
32,py31,py27,py26,py25,py24
envlist
=
py
24,py25,py26,py27,py31,py32
[testenv]
[testenv]
deps
=
deps
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment