Skip to main content

Fanstatic package template

Project description

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.1 (2011-01-20)

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

1.0 (2011-01-11)

  • initial release.

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

fanstatictemplate-1.1.tar.gz (9.2 kB view hashes)

Uploaded Source

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