lmnr 0.2.10__py3-none-any.whl → 0.2.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lmnr/cli/zip.py +4 -0
- {lmnr-0.2.10.dist-info → lmnr-0.2.11.dist-info}/METADATA +1 -1
- {lmnr-0.2.10.dist-info → lmnr-0.2.11.dist-info}/RECORD +6 -6
- {lmnr-0.2.10.dist-info → lmnr-0.2.11.dist-info}/LICENSE +0 -0
- {lmnr-0.2.10.dist-info → lmnr-0.2.11.dist-info}/WHEEL +0 -0
- {lmnr-0.2.10.dist-info → lmnr-0.2.11.dist-info}/entry_points.txt +0 -0
lmnr/cli/zip.py
CHANGED
@@ -7,6 +7,10 @@ def zip_directory(directory_path: Path, zip_file_path: Path):
|
|
7
7
|
with zipfile.ZipFile(zip_file_path, "w", zipfile.ZIP_DEFLATED) as zipf:
|
8
8
|
for root, _, files in os.walk(directory_path):
|
9
9
|
for file in files:
|
10
|
+
# Don't include the zip file itself, otherwise goes to infinite loop
|
11
|
+
if file == zip_file_path.name:
|
12
|
+
continue
|
13
|
+
|
10
14
|
file_path = os.path.join(root, file)
|
11
15
|
arcname = os.path.relpath(file_path, directory_path)
|
12
16
|
zipf.write(file_path, arcname)
|
@@ -15,14 +15,14 @@ lmnr/cli/parser/nodes/semantic_search.py,sha256=DWDPpV78XZ7vPIaPd86FbeDFAnKah4e6
|
|
15
15
|
lmnr/cli/parser/nodes/types.py,sha256=OVXj-iMEDY9nPKCX1-zddtoszZcUL3CXYYryI7O3et0,6094
|
16
16
|
lmnr/cli/parser/parser.py,sha256=yDa-ysAkh6si_hHU8Gw8EdtNWc4pFc5RbvgWEXGEPys,2370
|
17
17
|
lmnr/cli/parser/utils.py,sha256=1oy6BApHXOF7BTXbP8v3Oi9bwOdWZjoxDlRIOfXVxro,1169
|
18
|
-
lmnr/cli/zip.py,sha256=
|
18
|
+
lmnr/cli/zip.py,sha256=u2-LcYtQdZ_FIW0-PM-WGjclNPoB8v6OecrI79PyLPw,607
|
19
19
|
lmnr/sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
20
20
|
lmnr/sdk/endpoint.py,sha256=0HjcxMUcJz-klFZO2f5xtTaoLjcaEb8vrJ_YldTWUc8,7467
|
21
21
|
lmnr/sdk/registry.py,sha256=sEYQFOjO72YvgBSEkBrvoewFExoyBzx6nELgBarvD6Y,755
|
22
22
|
lmnr/sdk/remote_debugger.py,sha256=BYAN13KUDxH412qD3HXdDH0RfokrePquDt35fzB7GUg,5010
|
23
23
|
lmnr/types.py,sha256=3HpLBQZr6F5YMISHYLnzzyrTwUttNqJxpyobw31YYJQ,2347
|
24
|
-
lmnr-0.2.
|
25
|
-
lmnr-0.2.
|
26
|
-
lmnr-0.2.
|
27
|
-
lmnr-0.2.
|
28
|
-
lmnr-0.2.
|
24
|
+
lmnr-0.2.11.dist-info/LICENSE,sha256=67b_wJHVV1CBaWkrKFWU1wyqTPSdzH77Ls-59631COg,10411
|
25
|
+
lmnr-0.2.11.dist-info/METADATA,sha256=Vy8sFZj2301oMMAdDWMnqa23iWBSzBuy68WhEgvlVZU,5565
|
26
|
+
lmnr-0.2.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
27
|
+
lmnr-0.2.11.dist-info/entry_points.txt,sha256=Qg7ZRax4k-rcQsZ26XRYQ8YFSBiyY2PNxYfq4a6PYXI,41
|
28
|
+
lmnr-0.2.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|