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.
Metadata
Release files for bobtemplates.fanstatic 0.1-1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bobtemplates.fanstatic-0.1-1.tar.gz | 9.4 kB | Without provenance | Details for bobtemplates.fanstatic-0.1-1.tar.gz |
Release files / bobtemplates.fanstatic-0.1-1.tar.gz
| Download URL | bobtemplates.fanstatic-0.1-1.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
031bdb70ad99300c48be090d56e6cc3750a8ff023a4ed7a32ed12d7850db60f6
|
|
BLAKE2b-256 checksum How to use checksums |
4bfe53d6c137787c6018d9ca03649406889cf45570c98dae160d6dbeafc9981c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bobtemplates.fanstatic 0.1-1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.