Skip to main content

Templates for mr.bob

Project description

Python package templates for mr.bob

About the templates

Only one template in this version of bobtempaltes.gillux.

nspackage

A regular Python package bootstrap with following features:

  • Any namespaces level you want, even none at all. This is detected with the name you provide in the wizard.

  • Code targeted to Python 2.4 to 2.7

  • Tests with nose and nosexcover. Run them with python setup.py nosetests

  • A Sphinx documentation skeleton. Build the HTML doc with python setup.py build_sphinx. The doctest files are automatically included in the doc.

Package files outline:

src/<your>/<package>/  # Your package source
docs/                  # Sphinx source tree
tests/                 # Test module skeleton with nose goodies
setup.py               # Usual setup script
setup.cfg
README.rst
MANIFEST.in

Usage (short):

mrbob -O my.package bobtemplates.gillux:nspackage

Then grep - and optionally fix - the FIXME: that occur in the resulting files tree for optional stuffs I couldn’t fix easily with the regular mr.bob features.

Read the generated README.rst in your newly created package for more information about what you got.

TODO

  • Provide a Python 3.x option

  • Provide a six support option

  • Add “ignored files list” for most popular SCMs (git, mercurial, bzr, svn)

  • Make nosetests and sphinx supports optional

Changes log

1.0.0a2

1.0.0a1

  • First public version [glenfant]

Project details


Download files

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

Source Distribution

bobtemplates.gillux-1.0.0a2.tar.gz (10.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page