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.5 (2014-05-16)

  • Updated bootstrap to latest buildout 2 version.

  • Added zest.releaser per default.

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.

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.5.tar.gz (7.7 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