[FIX] setup.py: correct windows install

bzr revid: chs@openerp.com-20130115104047-6hrl825bn5pkmoo6
This commit is contained in:
Christophe Simonis 2013-01-15 11:40:47 +01:00
parent fec027e832
commit 7e1a76cdd8
1 changed files with 6 additions and 0 deletions

View File

@ -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():