Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install inigo.templer

How to install inigo.templer

  1. Download and install ActivePython
  2. Buy and install the Business Edition license from account.activestate.com
  3. Open Command Prompt
  4. Type pypm install inigo.templer

inigo.templer contains builds that are only available via PyPM when you have a current ActivePython Business Edition subscription.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0
1.0 Available View build log
Windows (64-bit)
Mac OS X (10.5+)
1.0
1.0 Available View build log
Linux (32-bit)
1.0
1.0 Available View build log
Linux (64-bit)
1.0
1.0 Available View build log
 
License
MIT

Introduction

This package contains templer templates used by Inigo Consulting as our standard package structure.

Installation

Method 1: Buildout

Create a buildout using this configuration:

[buildout]
parts = scripts

[scripts]
recipe = zc.recipe.egg
eggs =
   templer.core
   inigo.templer
Method 2: Install into system python
easy_install inigo.templer

Usage

Instantiating template
templer inigo_plone

This will create a folder with your development package.

Using localcommands

Enter your development package, and you will find a bootstrap.py and buildout.cfg in it. This is a pre-configured buildout which will help you in setting up a development environment for your package. To use localcommand, you will need the paster provided by this buildout. Follow these steps to build the buildout:

python bootstrap.py
./bin/buildout -vvvv

Once buildout is successful, you can use paster to add localcommand templates:

./bin/paster add <localcommand-template-name>

Templates

inigo_plone

This template contains our standardized package structure and several local commands to aid in common tasks related to Plone add-on development for our clients.

The local commands are:

  • content_type - This adds a skeleton Dexterity Content Type similar to templer.dexterity, however with a different layout.
  • behavior - This adds a skeleton for Dexterity Content Type similar to templer.dexterity.
  • basic_portlet - This adds a skeleton for a configurable portlet.
  • nonconfigurable_portlet - This adds a skeleton for a nonconfigurable portlet. This skeleton can also add assignment profile to specific content types.
  • schemaextender - This adds a skeleton for an archetypes.schemaextender browserlayer aware extender.
  • skin_layer - This adds a single FileSystemDirectoryView skin layer into the product
  • upgrade_profile - This adds a skeleton for a GenericSetup upgrade profile and handler for the product.
  • viewlet - This adds a skeleton for a basic viewlet
  • view - This adds a skeleton for a basic View based on grok.View
  • css - This adds genericsetup xml settings for inclusion of css
  • js - This adds genericsetup xml settings for inclusion of js
  • vocabulary - This adds skeleton for a named VocabularyFactory

Todo/Wishlist:

  • custom indexer, z3cform widget, catalog index, topic metadata
inigo_buildout

This template provides a skeleton buildout which provides:

  • buildout.cfg + deployment.cfg based template (separation between development, deployment buildout)
  • OpenShift deployment hooks (outdated at the moment)
  • site.cfg for site-specific settings
  • releaser script to aid in releasing packages from mr.developer list
  • example haproxy.cfg and varnish.vcl
inigo_theme

This template provides an initial Diazo theme package to work with. It includes an rudimentary rules.xml with simple index.html based on sunburst's actual template, a skin layer, and a z3c.jbot directory for overriding templates.

Local commands usable here:

  • css - This adds genericsetup xml settings for inclusion of css
  • js - This adds genericsetup xml settings for inclusion of js
inigo_policy

This template provides a basic package which is useful as a site policy package. Its simple a basic package with genericsetup install/upgrade profile, and a browserlayer.

inigo_i18noverride

This template provide a basic package for overriding locales

Hacking/Contributing

Feel free to fork and modify/add functionalities and submit improvements for this package. It is using inigo.* namespace primarily because the template layout is following our internal best practices, of which might not be the same as upstream Plone practices. However, we believe that some of these should be pushed upstream if the community want it.

Contributors

Note: place names and roles of the people who contribute to this package
in this file, one to a line, like so:
  • Izhar Firdaus, Original Author

Changelog

1.3 (2013-08-19)
  • enable versioning behavior by default [izhar]
  • fix haproxy config to also have a frontend settings block [izhar]
  • browser:resourceDirectory plone 4.3 compat [izhar]
  • install plone.app.relationfield and plone.formwidget.contenttree by default [izhar]
  • use z3cform in portlets [izhar]
  • overrideable zodb-cache-size [izhar]
1.2 (2013-06-20)
  • added skeleton for inigo_i18noverrides and inigo_policy [izhar]
  • added more localcommands (viewlet, view, css, js, vocabulary) [izhar]
1.1 (2013-04-18)
  • added code to delegate behavior attributes to context [izhar]
  • enable multilingual, exclfromnav, dexteritytextindexer, and referenceable behavior by default [izhar]
  • initial skeleton for inigo_buildout and inigo_theme [izhar]
  • schemaextender adapter should be named adapter [izhar]
1.0 (2012-12-19)
  • Package created using templer [izhar]
  • Added initial templates [izhar]
  • Initial development of this package was sponsored by World Council of Churches.

Subscribe to package updates

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.