Skip to content

Commit

Permalink
[FIX] packaging: windows: passlib dependency was not correctly set
Browse files Browse the repository at this point in the history
  • Loading branch information
sle-odoo committed Sep 16, 2014
1 parent 0db0df4 commit cb55107
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down Expand Up @@ -77,6 +83,7 @@ def py2exe_options():
'mock',
'openerp',
'openid',
'passlib',
'PIL',
'poplib',
'psutil',
Expand Down

0 comments on commit cb55107

Please sign in to comment.