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
c33cd2b2
Commit
c33cd2b2
authored
Apr 23, 2012
by
Chris Jerdonek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README tweaks.
parent
f30aad9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
README.rst
+7
-6
No files found.
README.rst
View file @
c33cd2b2
...
@@ -25,7 +25,7 @@ Requirements
...
@@ -25,7 +25,7 @@ Requirements
Pystache is tested with the following versions of Python:
Pystache is tested with the following versions of Python:
* Python 2.4 (requires
`simplejson
version 2.0.9`_ or earlier)
* Python 2.4 (requires
simplejson `
version 2.0.9`_ or earlier)
* Python 2.5 (requires simplejson_)
* Python 2.5 (requires simplejson_)
* Python 2.6
* Python 2.6
* Python 2.7
* Python 2.7
...
@@ -163,8 +163,8 @@ Mustache spec. To include tests from the Mustache spec in your test runs: ::
...
@@ -163,8 +163,8 @@ Mustache spec. To include tests from the Mustache spec in your test runs: ::
git submodule init
git submodule init
git submodule update
git submodule update
The test harness parses the spec's
yaml files if PyYAML_ is present.
The test harness parses the spec's
(more human-readable) yaml files if PyYAML_
Otherwise, it parses the json files.
is present.
Otherwise, it parses the json files.
To test Pystache from a source distribution with Python 3.x, you must use tox.
To test Pystache from a source distribution with Python 3.x, you must use tox.
This is because the source code must first be run through 2to3_.
This is because the source code must first be run through 2to3_.
...
@@ -187,8 +187,9 @@ Author
...
@@ -187,8 +187,9 @@ Author
::
::
>>> context = { 'author': 'Chris Wanstrath', 'maintainer': 'Chris Jerdonek' }
>>> context = { 'author': 'Chris Wanstrath', 'maintainer': 'Chris Jerdonek' }
>>> print pystache.render("{{author}} :: {{maintainer}}", context)
>>> print pystache.render("Author: {{author}}\nMaintainer: {{maintainer}}", context)
Chris Wanstrath :: Chris Jerdonek
Author: Chris Wanstrath
Maintainer: Chris Jerdonek
.. _2to3: http://docs.python.org/library/2to3.html
.. _2to3: http://docs.python.org/library/2to3.html
...
@@ -208,7 +209,7 @@ Author
...
@@ -208,7 +209,7 @@ Author
.. _PyYAML: http://pypi.python.org/pypi/PyYAML
.. _PyYAML: http://pypi.python.org/pypi/PyYAML
.. _semantically versioned: http://semver.org
.. _semantically versioned: http://semver.org
.. _simplejson: http://pypi.python.org/pypi/simplejson/
.. _simplejson: http://pypi.python.org/pypi/simplejson/
.. _simplejson version 2.0.9: http://pypi.python.org/pypi/simplejson/2.0.9
.. _test: http://packages.python.org/distribute/setuptools.html#test
.. _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
.. _version 2.0.9: http://pypi.python.org/pypi/simplejson/2.0.9
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