[FIX] packaging: windows: passlib dependency was not correctly set
This commit is contained in:
parent
0db0df437a
commit
cb55107fe1
7
setup.py
7
setup.py
|
@ -40,6 +40,12 @@ def py2exe_datafiles():
|
||||||
base = join('docutils', root[len(dudir) + 1:])
|
base = join('docutils', root[len(dudir) + 1:])
|
||||||
data_files[base] = [join(root, f) for f in filenames if not f.endswith(('.py', '.pyc', '.pyo'))]
|
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()
|
return data_files.items()
|
||||||
|
|
||||||
|
|
||||||
|
@ -77,6 +83,7 @@ def py2exe_options():
|
||||||
'mock',
|
'mock',
|
||||||
'openerp',
|
'openerp',
|
||||||
'openid',
|
'openid',
|
||||||
|
'passlib',
|
||||||
'PIL',
|
'PIL',
|
||||||
'poplib',
|
'poplib',
|
||||||
'psutil',
|
'psutil',
|
||||||
|
|
Loading…
Reference in New Issue