Skip to main content

bobtemplates to create python packages with pbr

Project description

# bobtemplates to create python packages with pbr

Creating python packages that use [pbr]( via [mr.bob](

## Install ` pip install bobtemplates.pypbr `

## Usage ` mrbob bobtemplates.pypbr:package ... mrbob bobtemplates.pypbr:namespace_package `

## Variables

Set in `~/.mrbob`

` [variables] = My Name = user.homepage = `

You will be asked for the relevant values anyway, but the default values of the fields will be the defined ones.

If these variables are not defined, they are queried via git. mr.bob will ask you for this variables, and recommend the configured ones for default.

There are more variables you could configure, and which are used in the header of Again this could be done in `~/.mrbob` or git. ` [variables] ... user.copyright_name = Your Company user.copyright_year = 2014 ` If user.copyright_name is not set, author name is used. If user.copyright_year is not set, the current year is used.

## Templates

### python_package

Usual python package with [pbr](

` python-simple_package python-simple_package/.gitignore python-simple_package/LICENSE python-simple_package/ python-simple_package/ python-simple_package/setup.cfg python-simple_package/ python-simple_package/simple_package python-simple_package/simple_package/ `

### python_namespace_package

python namspace package with [pbr](

` python-simple-namespace python-simple-namespace/.gitignore python-simple-namespace/LICENSE python-simple-namespace/ python-simple-namespace/ python-simple-namespace/setup.cfg python-simple-namespace/ python-simple-namespace/simple python-simple-namespace/simple/ python-simple-namespace/simple/namespace python-simple-namespace/simple/namespace/ `

## Known issues

Recommendation of name etc. from git does not work on python < 2.7

mr.bob does not install as a requirement with `pip < 6`. Consider to mr.bob by hand.

` $ pip install mr.bob $ pip install bobtemplates.pypbr `

Project details

Download files

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

Files for bobtemplates.pypbr, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size bobtemplates.pypbr-0.1-py2.py3-none-any.whl (22.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size bobtemplates.pypbr-0.1.tar.gz (13.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page