[FIX] packaging: windows: passlib dependency was not correctly set

This commit is contained in:
Simon Lejeune 2014-09-16 12:10:32 +02:00
parent 0db0df437a
commit cb55107fe1
1 changed files with 7 additions and 0 deletions

View File

@ -40,6 +40,12 @@ def py2exe_datafiles():
base = join('docutils', root[len(dudir) + 1:])
data_files[base] = [join(root, f) for f in filenames if not f.endswith(('.py', '.pyc', '.pyo'))]
import passlib
pl = dirname(passlib.__file__)
for root, _, filenames in os.walk(pl):
base = join('passlib', root[len(pl) + 1:])
data_files[base] = [join(root, f) for f in filenames if not f.endswith(('.py', '.pyc', '.pyo'))]
return data_files.items()
@ -77,6 +83,7 @@ def py2exe_options():
'mock',
'openerp',
'openid',
'passlib',
'PIL',
'poplib',
'psutil',