Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pyramid-mako / METADATA
Size: Mime:
Metadata-Version: 2.1
Name: pyramid-mako
Version: 1.1.0
Summary: Mako template bindings for the Pyramid web framework
Home-page: https://github.com/Pylons/pyramid_mako
Author: Bert JW Regeer
Author-email: pylons-discuss@googlegroups.com
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
Project-URL: Documentation, https://docs.pylonsproject.org/projects/pyramid_mako/en/latest/
Project-URL: Changelog, https://github.com/Pylons/pyramid_mako/blob/master/CHANGES.txt
Project-URL: Issue Tracker, https://github.com/Pylons/pyramid_mako/issues
Keywords: web,wsgi,pyramid
Platform: UNKNOWN
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Framework :: Pyramid
Classifier: License :: Repoze Public License
Requires-Dist: pyramid
Requires-Dist: Mako (>=1.1.0)
Provides-Extra: docs
Requires-Dist: Sphinx (>=1.8.1) ; extra == 'docs'
Requires-Dist: docutils ; extra == 'docs'
Requires-Dist: repoze.sphinx.autointerface ; extra == 'docs'
Requires-Dist: pylons-sphinx-themes (>=1.0.8) ; extra == 'docs'
Provides-Extra: testing
Requires-Dist: WebTest (>=1.3.1) ; extra == 'testing'
Requires-Dist: nose ; extra == 'testing'
Requires-Dist: coverage ; extra == 'testing'

`Mako <http://www.makotemplates.org/>`_ bindings for Pyramid
============================================================

These are bindings for the `Mako templating system <https://www.makotemplates.org/>`_ for the `Pyramid <https://trypyramid.com/>`_ web framework.

Documentation for `pyramid_mako <https://docs.pylonsproject.org/projects/pyramid-mako/en/latest/>`_.


1.1.0 (2019-08-18)
==================

- Add support for Python 3.5, 3.6, 3.7.

- Require ``mako >= 1.1.0``.

- Add a config option for ``preprocessor_wants_settings``. If set to ``true``,
  the ``preprocessor`` will be wrapped in a function that invokes the 
  preprocessor with pyramid's config settings as the second argument.

1.0.2 (2014-04-22)
==================

- Fix mako.imports so that aslist() does not flatten. See issue #23
  (https://github.com/Pylons/pyramid_mako/issues/23)

1.0.1 (2014-04-16)
==================

- Bump the required version of Mako to 0.8 or newer for issue #22 (add
  future_imports). If you would like to use an older version of Mako, please
  pin your dependency to version 0.3.1 of pyramid_mako.

1.0 (2014-04-15)
================

- Add new configuration variable for future_imports. See issue #22
  (https://github.com/Pylons/pyramid_mako/issues/22)
- Fix issue #19, whereby pyramid.reload_templates stopped functioning due to
  changes in pyramid_mako. The lookup is now completed at template render,
  instead of when the factory returns the renderer. See:
  (https://github.com/Pylons/pyramid_mako/issues/19)
- Tuple return values in the form of ('defname', {}) are no longer supported,
  and will result in a ValueError being raised.
- Fix an packaging issue whereby \*.foo files were not included in the MANIFEST.
- Caller-relative template lookup is now supported. Any template that fails
  to be found in the default search paths will be searched relative to the
  caller package.
- Allow overriding the ``pyramid.reload_templates`` using
  ``mako.reload_templates``.
- Change the way that custom user values passed to the renderer are merged with
  the system provided variables. This allows the user to pass in a variable
  named 'context' and have it correctly override the system provided context,
  and THEN get correctly renamed so that Mako doesn't complain about a variable
  being passed in that isn't allowed due to it being reserved.
- Drop testing dependency on ``nose-selecttests``.

0.3.1 (2013-10-22)
==================

- Re-enable lazy loading of the mako renderer, allowing the settings
  to be configured after pyramid_mako has been included, as long as everything
  happens in the same commit.

0.3 (2013-10-20)
================

- Add a new Configurator directive, ``config.add_mako_renderer`` which
  can be used to add a new mako renderer for a given extension. This
  directive accepts an optional ``settings_prefix`` to load settings and
  configuration differently per-renderer as well.

- Removed the private APIs, ``IMakoLookup``, ``MakoRendererFactoryHelper``,
  and ``renderer_factory``. See the new ``config.add_mako_renderer`` API
  for updating offending code.

- Remove dependency on ``pyramid.interfaces.ITemplateRenderer`` from
  Pyramid 1.5.

0.2 (2013-09-07)
================

- Docs up-to-date
- Latest changes pulled from Pyramid
- Latest tests pulled from Pyramid
- All tests updated to refer to fixtures in pyramid_mako

0.1 (2012-03-12)
================

- First release. Extracted from Pyramid core.