hurry.resource style resources for jQuery UI.
Project description
hurry.jqueryui
Introduction
This library packages jQuery UI for hurry.resource. It is aware of jQuery UI’s structure and different modes (normal, minified).
How to use?
You can import jQuery UI from hurry.jqueryui and .need it where you want these resources to be included on a page:
from hurry.jqueryui import jqueryui .. in your page or widget rendering code, somewhere .. jqueryui.need()
You can also use JQuery UI themes:
from hurry.jqueryui import smoothness
This requires integration between your web framework and hurry.resource, and making sure that the original resources (shipped in the jqueryui-build directory in hurry.jqueryui) are published to some URL.
The package has already been integrated for Grok and the Zope Toolkit. 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.jqueryui before release
This section is only relevant to release managers of hurry.jqueryui.
When releasing hurry.jqueryui, 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/jqueryuiprepare <version number>, where version number is the version of the YUI release, such as 1.7.2. This will download the jQuery UI library of that version and place it in the egg.
CHANGES
1.7.2.1 (2009-11-08) (jQuery UI version 1.7.2)
Initial public release, using jQueryUI-1.7.2
Download
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.