# HG changeset patch
# User cmonjeau
# Date 1436273368 14400
# Node ID e466f86a4520f8e766c0c4ab20c4ecdf36ec79ab
Imported from capsule None
diff -r 000000000000 -r e466f86a4520 repository_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/repository_dependencies.xml Tue Jul 07 08:49:28 2015 -0400
@@ -0,0 +1,4 @@
+
+
+
+
diff -r 000000000000 -r e466f86a4520 zip.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/zip.py Tue Jul 07 08:49:28 2015 -0400
@@ -0,0 +1,32 @@
+#!/usr/bin/env python
+
+"""
+Create a zip archive
+
+usage: zip.py [options]
+
+See below for options
+"""
+
+import os, subprocess, sys
+import zipfile
+
+def __main__():
+
+ # init
+ output_zip = sys.argv[1]
+
+ # create the zip archive
+ myarchive = zipfile.ZipFile(output_zip, 'w', allowZip64=True)
+
+ # for all files, write in the archive
+ for i in range(2, len(sys.argv),2):
+ myarchive.write(sys.argv[i], os.path.basename(sys.argv[i+1]))
+
+
+
+
+
+
+if __name__ == "__main__": __main__()
+
diff -r 000000000000 -r e466f86a4520 zip.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/zip.xml Tue Jul 07 08:49:28 2015 -0400
@@ -0,0 +1,39 @@
+
+ and name files
+
+ zip.py
+ $output
+ #for $num_repeat in $files
+ ${num_repeat.file}
+ ${num_repeat.file_name}
+ #end for
+
+
+
+
+
+ value != 'fic.zip'
+ .+\..+
+
+
+
+
+
+
+
+
+**Tool documentation**
+
+This tool simply creates a zip file aggregating the input files. The name for the files has to be chosen by the user, it can't be empty and has to be with a least one extension.
+
+The output is a zip file.
+
+CHANGELOG : This tool can manage large files
+
+--------
+
+**Integrated by:**
+
+Cyril Monjeaud
+
+