Add dependencies on Genshi, Jinja2 and emailvalid

This commit is contained in:
Raimon Esteve 2017-09-12 13:37:47 +02:00
parent acfaa0510e
commit 6848e05077
1 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,11 @@ minor_version = int(minor_version)
name = 'trytonspain_electronic_mail'
download_url = 'https://bitbucket.org/trytonspain/trytond-electronic_mail'
requires = []
requires = [
'Genshi',
'Jinja2',
'emailvalid',
]
for dep in info.get('depends', []):
if not re.match(r'(ir|res)(\W|$)', dep):
prefix = MODULE2PREFIX.get(dep, 'trytond')