Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

mr.bob template for Fanstatic packages

Project Description

Introduction

bobtemplates.fanstatic provides mr.bob templates to generate packages for Fanstatic.

Available templates are:

  • package: a simple template for a Fanstatic package.

Global settings

Some variables are used with every template. These should be added to the mr.bob user config in ~/.mrbob, e.g.:

[variables]

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

Creating a Fanstatic package

To create a Fanstatic package run:

mrbob -O js.some_library bobtemplates.fanstatic:package

and answer the questions:

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

Then you could add resources files:

cd js.some_library/js/some_library/resources

Register them in __init__.py:

cd ..
<editor> __init__.py

Run tests:

python bootstrap.py
buildout
py.test js

Changelog

0.1-1 - 2013-03-01

  • Fix packaging.

0.1 - 2013-02-28

  • First release.
Release History

Release History

This version
History Node

0.1-1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bobtemplates.fanstatic-0.1-1.tar.gz (9.4 kB) Copy SHA256 Checksum SHA256 Source Mar 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting