Skip to content
Snippets Groups Projects
Commit cb55107f authored by Simon Lejeune's avatar Simon Lejeune
Browse files

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

parent 0db0df43
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment