Skip to main content

Templer system extensions for plone add-on development

Project description

Introduction

This package extends the functionality of the templer code generation system. It builds upon the functionality of templer.core, templer.buildout and templer.zope, and depends on those packages. This package provides basic support for creating plone add-ons. Included are templates for basic plone packages, nested namespace plone packages and archetypes plone packages.

Primary Documentation for the templer code generation system may be found in the Templer Manual on Read The Docs.

Creating Packages

As with the parent package, templer.core, creating packages using templer.plone templates is accomplished by using the templer script. The script is invoked thus:

templer plone_basic

This will create a basic plone package skeleton.

Migration from ZopeSkel

Templer cannot coexist with ZopeSkel before version 3.0 in the same buildout or Python virtualenv. If you have previously installed ZopeSkel 2.x in your environment, uninstall it completely before using templer-based packages or ZopeSkel 3.

Otherwise you will encounter the following error when trying to create packages:

IOError: No egg-info directory found (looked in ./mycompany.content/./mycompany.content.egg-info, ./mycompany.content/bootstrap.py/mycompany.content.egg-info, ./mycompany.content/buildout.cfg/mycompany.content.egg-info, ./mycompany.content/CHANGES.txt/mycompany.content.egg-info, ./mycompany.content/CONTRIBUTORS.txt/mycompany.content.egg-info, ./mycompany.content/docs/mycompany.content.egg-info, ./mycompany.content/MANIFEST.in/mycompany.content.egg-info, ./mycompany.content/mycompany/mycompany.content.egg-info, ./mycompany.content/Paste-1.7.5.1-py2.6.egg/mycompany.content.egg-info, ./mycompany.content/PasteDeploy-1.5.0-py2.6.egg/mycompany.content.egg-info, ./mycompany.content/PasteScript-1.7.5-py2.6.egg/mycompany.content.egg-info, ./mycompany.content/README.txt/mycompany.content.egg-info, ./mycompany.content/setup.cfg/mycompany.content.egg-info, ./mycompany.content/setup.py/mycompany.content.egg-info, ./mycompany.content/src/mycompany.content.egg-info)

Before start using Templer

  • Remove ZopeSkel references in buildout.cfg

  • rm -rf eggs/ZopeSkel*

Other Functions

The templer script provides a number of other functions, these are described in full on the index page for templer.core at PyPI

Source code and issue tracking

Contributors

  • Cris Ewing, original author

  • Josh Johnson

  • David Ray

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.0b2 September 16, 2012

  • Improve infrastructure created for testing plone packages [gotcha]

  • Add a buildout to the package to ease development of templer.plone [gotcha]

  • Improve README with links to source and tracker and compatibility warning about ZopeSkel 2.x [miohtama]

  • More package classifiers are included by default [hvelarde]

  • Development buildout extends test-4.x.cfg instead of plone-4.1.x.cfg; test part uses better default options [hvelarde]

1.0b1 - May 20, 2012

  • Re-establish localcommand support for the archetype and plone templates [cewing]

  • Add support for optional localcommands [cewing]

  • Create new nested namespace plone package template, like zopeskel’s old plone_app template [cewing]

  • Improve the consistency of messaging across templates [cewing]

1.0a1 - October 7, 2011

  • Ported archetype template and doctests from zopeskel [jjmojojjmojo]

  • Ported basic plone template and doctests from zopeskel [cewing]

  • Package created using templer [cewing]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

templer.plone-1.0b2.zip (40.0 kB view details)

Uploaded Source

File details

Details for the file templer.plone-1.0b2.zip.

File metadata

  • Download URL: templer.plone-1.0b2.zip
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for templer.plone-1.0b2.zip
Algorithm Hash digest
SHA256 903c00b2454f1a250b5245fcbecbb2735de87a51494819f27198bf99478cacd4
MD5 ddb9f6ac0b3d505e9a9a27b1f5b75322
BLAKE2b-256 dbd3264f74e90cf3451b9e03306d5db279017484e3995e2ceade1157f23814f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page