summaryrefslogtreecommitdiffstats
path: root/modules/zip/config.py
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-09-30 10:13:33 -0300
committerMisterMX <mbxd12@web.de>2022-10-14 21:51:38 +0200
commitea6cc3e2607a7b902a1a748e5b5623fcbb18da27 (patch)
treec637221a43f15b96434402b719c0e271d98716e4 /modules/zip/config.py
parentf8745f2f71c79972df66f17a3da75f6e328bc55d (diff)
downloadredot-engine-ea6cc3e2607a7b902a1a748e5b5623fcbb18da27.tar.gz
Expose minizip API to allow creating zips using scripts
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com> Co-authored-by: James Westman <flyingpimonster@gmail.commail> Co-authored-by: MisterMX <mbxd12@web.de> Signed-off-by: MisterMX <mbxd12@web.de>
Diffstat (limited to 'modules/zip/config.py')
-rw-r--r--modules/zip/config.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/zip/config.py b/modules/zip/config.py
new file mode 100644
index 0000000000..96cd2fc5bd
--- /dev/null
+++ b/modules/zip/config.py
@@ -0,0 +1,17 @@
+def can_build(env, platform):
+ return env["minizip"]
+
+
+def configure(env):
+ pass
+
+
+def get_doc_classes():
+ return [
+ "ZIPReader",
+ "ZIPPacker",
+ ]
+
+
+def get_doc_path():
+ return "doc_classes"