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 templer.plone.localcommands

How to install templer.plone.localcommands

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install templer.plone.localcommands
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0b1 Available View build log
Windows (64-bit)
1.0b1 Available View build log
Mac OS X (10.5+)
1.0b1 Available View build log
Linux (32-bit)
1.0b1 Available View build log
Linux (64-bit)
1.0b1 Available View build log
 
Author
License
mit
Lastest release
version 1.0b1 on May 24th, 2012

Introduction

This package is part of the templer code generator system. It provides local command templates for the archetype and plone_basic templates from templer.plone and is dependent on that package. Installing templer.plone[localcommands] will automatically include this package.

Local Commands

Templer local commands are an extension of the PasteScript local command concept which allow the user to insert additional features into a skeleton package already created by a templer template.

Executing Local Commands

The first step in accessing local commands is to build a package skeleton using one of the templer templates which support local commands:

bin/templer plone_basic example.package

When the run is completed, you should see output that informs you that localcommands are available for this new package:

Your new package supports local commands. To access them, change
directories into the 'src' directory inside your new package. From there,
you will be able to run the command `paster add --list` to see the local
commands available for this package.

Follow these instructions to see the local commands you have available to you from the context of your plone_basic package skeleton. You may also run paster add --list-all to see the full list of local commands available in your current installation. Commands not available within the current package will be prefaced with an 'N' character in the listing.

Provided Local Templates

This package provides local command templates for the archetype and plone_basic templates:

archetype
contenttype
A skeleton Archetypes content type
schema_field
An iterative generator for Archetypes schema fields
plone_basic
browserview
A zope BrowserView class, interface and template
browserlayer
A zope BrowserLayer interface and GenericSetup registration

Issues

Issues with this package should be reported in the package repository on GitHub.

Contributors

Cris Ewing, Author

Based on code from zopeskel, contributors to which include:

  • Daniel Nouri
  • Tarek Ziadé
  • Mustapha Benali
  • Sylvain Viollon
  • Alan Hoey
  • Josh Johnson
  • Emanuel Sartor
  • Matthew Wilkes
  • Joel Burton
  • Cris Ewing
  • Chris Calloway
  • Chris Rossi

Changelog

1.0b1 May 10, 2012
  • Port contenttype and schema_field local command from zopeskel archetype local commands [cewing]
  • Port BrowserView and BrowserLayer local commands from zopeskel plone local commands [cewing]
  • Package created using templer [Cris Ewing]

Subscribe to package updates

Last updated May 24th, 2012

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.