[FIX] setup.py: correct windows install
bzr revid: chs@openerp.com-20130115104047-6hrl825bn5pkmoo6
This commit is contained in:
parent
fec027e832
commit
7e1a76cdd8
6
setup.py
6
setup.py
|
@ -43,6 +43,12 @@ def data():
|
|||
base = os.path.join('pytz', root[len(tzdir) + 1:])
|
||||
r[base] = [os.path.join(root, f) for f in filenames]
|
||||
|
||||
import docutils
|
||||
dudir = os.path.dirname(docutils.__file__)
|
||||
for root, _, filenames in os.walk(dudir):
|
||||
base = os.path.join('docutils', root[len(dudir) + 1:])
|
||||
r[base] = [os.path.join(root, f) for f in filenames if not f.endswith(('.py', '.pyc', '.pyo'))]
|
||||
|
||||
return r.items()
|
||||
|
||||
def gen_manifest():
|
||||
|
|
Loading…
Reference in New Issue