Start a "base" recipe
This probably needs to have a "pages" templates too.
This commit is contained in:
parent
1162aa2fd7
commit
32d7b53e63
3 changed files with 36 additions and 3 deletions
18
tools/boilerplate_data/base_backend.py
Normal file
18
tools/boilerplate_data/base_backend.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<%inherit file="layout.py"/>
|
||||
from weboob.tools.backend import BaseBackend
|
||||
|
||||
from .browser import ${r.classname}Browser
|
||||
|
||||
|
||||
__all__ = ['${r.classname}Backend']
|
||||
|
||||
|
||||
class ${r.classname}Backend(BaseBackend):
|
||||
NAME = '${r.name}'
|
||||
DESCRIPTION = '${r.name} website'
|
||||
MAINTAINER = '${r.author}'
|
||||
EMAIL = '${r.email}'
|
||||
VERSION = '${r.version}'
|
||||
|
||||
DOMAIN = 'www.${r.name}.com'
|
||||
BROWSER = ${r.classname}Browser
|
||||
Loading…
Add table
Add a link
Reference in a new issue