summaryrefslogtreecommitdiff
path: root/modules/zip/config.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-15 12:56:26 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-15 12:56:26 +0200
commit96ec73f3ee7c47286c3b9228f9ce26418a64952b (patch)
tree1fa85411f4d68466f06cfa2149d9c36cb13d5118 /modules/zip/config.py
parent2b7c7bd7e864367c1cfded2aaf0a789382361237 (diff)
parentea6cc3e2607a7b902a1a748e5b5623fcbb18da27 (diff)
Merge pull request #65281 from MisterMX/zip-module
Expose minizip API to allow creating zips using scripts
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"