8000 Add files to subdir in package · awesome-python/html5lib-python@92660a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92660a1

Browse files
committed
Add files to subdir in package
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40533
1 parent e3cc988 commit 92660a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/package.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ def makeZipFile(self):
128128
z = zipfile.ZipFile(os.path.join(self.outDir,
129129
"html5lib-%s.zip"%self.version), 'w')
130130
for f in self.outFiles:
131-
z.write(f, f[len(self.outDir)+1:])
131+
z.write(f, os.path.join("html5lib-%s"%self.version,
132+
f[len(self.outDir)+1:]))
132133
z.close()
133134

134135
def cleanup(self):

0 commit comments

Comments
 (0)
0