Skip to content

Commit 7e1a76c

Browse files
committed
[FIX] setup.py: correct windows install
bzr revid: [email protected]
1 parent fec027e commit 7e1a76c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ def data():
4343
base = os.path.join('pytz', root[len(tzdir) + 1:])
4444
r[base] = [os.path.join(root, f) for f in filenames]
4545

46+
import docutils
47+
dudir = os.path.dirname(docutils.__file__)
48+
for root, _, filenames in os.walk(dudir):
49+
base = os.path.join('docutils', root[len(dudir) + 1:])
50+
r[base] = [os.path.join(root, f) for f in filenames if not f.endswith(('.py', '.pyc', '.pyo'))]
51+
4652
return r.items()
4753

4854
def gen_manifest():

0 commit comments

Comments
 (0)