Fanstic实用程序
rebecca.fanstatic的Python项目详细描述
丽贝卡。风扇静电
pyramid web framework的fanstic实用程序。
add_fanstatic_resources指令
为与renderer_name_pattern匹配的呈现程序添加fanstatic资源。
用法:
config.include('rebecca.fanstatic') config.add_fanstatic_resources(['js.jquery.jquery', 'js.jqueryui.jqueryui'], r'.*\.pt')
列出fanstatic命令
usage: list_fanstatic [-h] [-o OUTPUT_DIRECTORY] [-l [LIBRARY [LIBRARY ...]]] [--simulate] Collect fanstatic resources and copy to destination directory. optional arguments: -h, --help show this help message and exit -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY Set destination directory name. Default directory name is 'fanstatic'. -l [LIBRARY [LIBRARY ...]], --library [LIBRARY [LIBRARY ...]] Specify copy library names. Accept multiple options. --simulate Simulate collecting resources. Print resource paths and destination paths.
更改
0.1.2
- 修复打包错误。
0.1.1
- 修复打包错误。
0.1
- 首次发布