Skip to content
Permalink
Browse files

Add 'make_source_zip.py' script

  • Loading branch information...
crwood committed Jul 11, 2019
1 parent fba08c4 commit 5e0a7ba11dc9e2f920a1e5da9f4b4991d15a834b
Showing with 11 additions and 0 deletions.
  1. +11 −0 scripts/make_source_zip.py
@@ -0,0 +1,11 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import shutil
import sys
import tempfile


_, p = tempfile.mkstemp()
shutil.make_archive(p, 'zip', sys.argv[1])
shutil.move(p + '.zip', sys.argv[2])

0 comments on commit 5e0a7ba

Please sign in to comment.
You can’t perform that action at this time.