fanstic包的bob先生模板

bobtemplates.fanstatic的Python项目详细描述


简介

bobtemplates.fanstatic提供要生成的mr.bob模板 用于Fanstatic的包。

可用的模板有:

  • ^{tt2}$: a simple template for a Fanstatic package.

全局设置

每个模板都使用一些变量。这些应该添加到 bob先生在~/.mrbob中的用户配置,例如:

[variables]

author.name = Nuno Teixeira
author.email = teixas@gmail.com
author.github.user = teixas

创建fanstatic包

要创建fanstic包,请运行:

mrbob -O js.some_library bobtemplates.fanstatic:package

并回答问题:

Welcome to mr.bob interactive mode. Before we generate directory structure,
some questions need to be answered.

Answer with a question mark to display help.
Value in square brackets at the end of the questions present default value
if there is no answer.


--> Name of wrapped library: some_library

--> Version of the wrapped library: 1.4.4

--> URL of the wrapped library: http://some_library.com

然后您可以添加资源文件:

cd js.some_library/js/some_library/resources

在初始化中注册它们。py:

cd ..
<editor> __init__.py

运行测试:

python bootstrap.py
buildout
py.test js

更改日志

0.1-1-2013-03-01

  • 固定包装。

0.1-2013年2月28日

  • 第一次释放。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java有没有任何安卓开发方法可以在屏幕上找到最大单位?   java中的客户机/服务器:程序在输入第二个文件名时卡住   基于java XML上下文的bean无法执行构造函数注入:未找到默认构造函数   java在应用程序中显示通知或作出反应   java如何使spring boot在多对多关系中创建的id成为主键   java有没有办法用JNI设置DirectByteBuffer内存?   java如何为连接池配置Hibernate、Spring和ApacheDBCP?   使用double而不是int的java循环   java我希望输入不区分大小写   java如何在JEditorPane中显示charset=windows1252的html   在Java中,什么会导致抛出异常FileNotFoundException?   面向对象Java哈希集实现设计   用于打印字母的java For循环   java在测试期间向类构造函数插入特定值   SpringJavaMongoDB类NotFoundException:org。springframework。数据转换收集工厂   java将SOAP XML字符串转换为对象或仅读取其内容   java如何将单个POJO类映射到多个表   java中的数组ArrayIndex越界异常