跳转到主要内容

fanstatic工具

项目描述

rebecca.fanstatic

pyramid网络框架提供fanstatic工具。

add_fanstatic_resources 指令

为匹配到 renderer_name_pattern 的渲染器添加fanstatic资源。

用法

config.include('rebecca.fanstatic')
config.add_fanstatic_resources(['js.jquery.jquery', 'js.jqueryui.jqueryui'], r'.*\.pt')

list_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

  • 首次发布

项目详情


下载文件

下载适用于您平台的应用程序。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

rebecca.fanstatic-0.1.2.tar.gz (4.9 kB 查看哈希)

上传时间

由以下组织支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面