hurry.resource style resources for Slimbox.
Project description
Introduction
This library packages Slimbox for hurry.resource. It relies on hurry.jquery for the dependency.
How to use?
You can import Slimbox from hurry.slimbox and .need it where you want these resources to be included on a page:
from hurry.slimbox import slimbox .. in your page or widget rendering code, somewhere .. slimbox.need()
This requires integration between your web framework and hurry.resource, and making sure that the original resources are published to some URL.
The package has already been integrated for Grok and Zope 3. If you depend on the hurry.zoperesource package in your setup.py, the above example should work out of the box. Make sure to depend on the hurry.zoperesource package in your setup.py.
Preparing hurry.slimbox before release
This section is only relevant to release managers of hurry.slimbox.
When releasing hurry.slimbox, an extra step should be taken. Follow the regular package release instructions, but before egg generation (python setup.py register sdist upload) first execute bin/slimboxprepare. This will download the Slimbox library and place it in the egg. (The version number is currently hardcoded in the hurry.slimbox.prepare module).
CHANGES
0.1 (2009-12-27)
Initial public release, using Slimbox 2.03.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hurry.slimbox-2.03.tar.gz
.
File metadata
- Download URL: hurry.slimbox-2.03.tar.gz
- Upload date:
- Size: 57.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a73ebc185a80beff45325763a1ea3d0b6e96e2c429bab62bf4bf8a27065c0ec |
|
MD5 | da025129f87e8500d656f8af39be914b |
|
BLAKE2b-256 | 8ad321e8deb30c6ced909d43abc9af700e29f41ce575134679bfde19c2467367 |