BowerStatic integration for Pyramid
pyramid_bowerstatic: BowerStatic integration for Pyramid
When you create a pyramid app, make sure to include pyramid_bowerstatic:
Resources can be added to the bowerstatic repository by:
components = pyramid_bowerstatic.create_components('myapp', os.path.join(os.path.dirname(__file__), 'bower_components'))
And resources can be used in views by:
Resource can also be inserted in the view/template directly by using:
request.get_bowerstatic_url('myapp', 'jquery', 'jquery.js')
- BowerStatic 0.7 has changed the API for tweens, which is changed in version 0.3 of pyramid_bowerstatic.
- With the release of bowestatic 0.6 it can be used as tweens. As a consequence bower.wrap is not needed anymore. Which makes it pyramid_bowerstatic easier to use.
- Initial public release.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyramid_bowerstatic-0.3.zip (10.0 kB)||File type Source||Python version None||Upload date||Hashes View|