Pyramid 中的 BowerStatic:为什么脚本不会到达主体的末尾?

BowerStatic in Pyramid: why scripts aren't going to the end of body?

我在 Pyramid 1.5.6 中使用 pyramid_bowerstatic-0.3-py2.7、bowerstatic-0.8.1 和 SB Admin 2 bootstrap 3 主题(如果重要的话)。

包含组件时,例如

request.include(components, 'jquery')

在正常配置的视图中(使用模板):

@view_config(route_name='list', renderer='templates/list.pt', permission="view")
def list_view(self):
    request.include(components, 'jquery')
    return {'project': 'My', }

其中(在项目 __init__ 中):

components = pyramid_bowerstatic.create_components('sbadmin',
   os.path.join(os.path.dirname(__file__), 'sbadmin', 'bower_components'))

我在 html 的头部得到了 CSS 和 Javascript。根据我的理解,javascripts 应该在 body 结束之前进行。此外,我不确定如何控制顺序以及如何将选定的 javascript 添加到头部。 bowerstatic 似乎遵循包含顺序,但同时似乎关心依赖项。

在文档中找不到关于此的任何内容。我错过了什么?

截至目前(2015 年 5 月),根据票据,bower_static 中不可能: https://github.com/faassen/bowerstatic/issues/32