morepath的bowerstatic积分
more.static的Python项目详细描述
more.static:bowerstatic积分用于morepath
more.static将BowerStatic集成到Morepath。
另请参见Static resources with Morepath。
变化
0.10(2016-10-04)
- 更新以使用morepath 0.16。
- 设置与Travis CI的集成。
- 为python 3.3和3.5、pypy3和pep8添加tox环境。
- 为pep8和coverage使用python 3.5。
- 清理元数据。
0.9(2016-04-25)
- 依赖于morepath.directive作为RegRegistry,因为现在是这样 morepath扩展的官方公共api。
0.8.1(2016-04-20)
- 0.8中有一个错误使用了注册表而不是 morepath.app.RegRegistry。在某些情况下 导致安装了错误的注册表。
0.8(2016-04-08)
- 调整以使用morepath 0.13+(和dectate)。
0.7(2015-01-14)
可以将自定义的renderer参数传递给request.include(),传递给 支持BowerStatic 0.8中添加的此功能。
http://bowerstatic.readthedocs.org/en/latest/integrating.html#custom-renderer
0.6(2014-11-15)
- 使用bowerstatic 0.7,使得基于tween的集成 更简单。
- 有一个错误,引用被注入,但实际上没有 正确出版。
0.5(2014-11-13)
不再需要用bower包装应用程序 wsgi。取而代之的是粗花呢。要迁移,只需替换 以下内容:
wsgi = bower.wrap(App()) morepath.run(wsgi)
用这个:
morepath.run(App())
需要更多路径0.8和bowerstatic 0.6。
0.4(2014-11-03)
- 调整以处理有关请求的更多路径0.7 API更改 建设。
0.3(2014-09-08)
0.2引入了component方法来获取组件对象 也就是它的网址。结果这和本地的不兼容 组件,所以我改为get_component:
request.static_components.get_component('jquery').url()
取决于BowerStatic的0.4版。
0.2(2014-08-28)
对请求提供static_components属性, 这是一个bowerstatic静态组件对象。你可以用 这主要是为了获得组件的url,比如:
request.static_components.component('jquery').url()
取决于BowerStatic的0.3版。
0.1(2014-07-07)
- 首次公开发行。