skip to navigation
skip to content

Not Logged In

fanstatictemplate 1.4

Fanstatic package template

Fanstatic template

Introduction

The Fanstatic paster template is used to create Fanstatic python packages. Fanstatic packages wrap static resources, such as javascript and CSS libraries.

For more information on Fanstatic, visit http://fanstatic.org.

Usage

After installing the fanstatictemplate package, a paster template is made available:

$ paster create -t fanstatic

When running the paster create command, you will be asked to supply the name of the Fanstatic package and the name, version and URL of the wrapped library.

We use the js namespace for creating javascript packages, for example jQuery is made available as the js.jquery python package.

After running the paster create command, copy the library into the newly created resources subdirectory and register the Resources in __init__.py. A doctest stub is created. It is up to you to make the tests pass based on the newly registered Resources.

CHANGES

1.4 (2013-04-18)

  • Update to buildout 2.

1.3 (2012-03-03)

  • Replaced hgtools with MANIFEST.in because people are also using git to maintain fanstatic packages. Basically, back to v1.1.

1.2 (2011-04-25)

  • Replace MANIFEST.in with hgtools to provide setuptools-svn like functionality.

1.1 (2011-01-20)

  • Bootstrap.py and .hgignore were not distributed before.

1.0 (2011-01-11)

  • initial release.
 
File Type Py Version Uploaded on Size
fanstatictemplate-1.4.zip (md5) Source 2013-04-18 17KB
  • Downloads (All Versions):
  • 15 downloads in the last day
  • 107 downloads in the last week
  • 444 downloads in the last month