FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add files to subdir in package · darobin/html5lib-python@92660a1 · GitHub

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL