dekshell 0.2.27__py3-none-any.whl → 0.2.29__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.
- dekshell/core/contexts/methods.py +3 -2
- dekshell/core/markers/var.py +1 -1
- {dekshell-0.2.27.dist-info → dekshell-0.2.29.dist-info}/METADATA +1 -1
- {dekshell-0.2.27.dist-info → dekshell-0.2.29.dist-info}/RECORD +6 -6
- {dekshell-0.2.27.dist-info → dekshell-0.2.29.dist-info}/WHEEL +0 -0
- {dekshell-0.2.27.dist-info → dekshell-0.2.29.dist-info}/entry_points.txt +0 -0
|
@@ -14,6 +14,7 @@ from dektools.file import sure_dir, write_file, read_text, remove_path, sure_par
|
|
|
14
14
|
format_path_desc, read_file, split_ext, path_ext, clear_dir, copy_recurse_ignore, path_is_empty, \
|
|
15
15
|
read_lines, seek_py_module_path, come_real_path, status_of_dir, diff_of_dir, path_parent, \
|
|
16
16
|
split_file, combine_split_files, remove_split_files, meta_split_file, tree, iglob, \
|
|
17
|
+
iter_dir_type, iter_dir_type_one, \
|
|
17
18
|
where, where_list, which, which_list
|
|
18
19
|
from dektools.hash import hash_file
|
|
19
20
|
from dektools.zip import compress_files, decompress_files
|
|
@@ -252,8 +253,8 @@ default_methods = {
|
|
|
252
253
|
'mdt': lambda x=None: tempfile.mkdtemp(prefix=x),
|
|
253
254
|
'mdc': _sure_and_clear,
|
|
254
255
|
|
|
255
|
-
'lsa':
|
|
256
|
-
'lso': lambda path='.', file=None:
|
|
256
|
+
'lsa': iter_dir_type,
|
|
257
|
+
'lso': lambda path='.', file=None: iter_dir_type_one(path, file, ''),
|
|
257
258
|
'ls': lambda x='.': os.listdir(x),
|
|
258
259
|
|
|
259
260
|
'iglob': iglob,
|
dekshell/core/markers/var.py
CHANGED
|
@@ -74,7 +74,7 @@ class AssignExecMarker(MarkerAssignBase, MarkerWithEnd, MarkerNoTranslator):
|
|
|
74
74
|
tag_head_re_args = '=='
|
|
75
75
|
|
|
76
76
|
def execute(self, context, command, marker_node, marker_set):
|
|
77
|
-
code = self.get_inner_content(context, marker_node)
|
|
77
|
+
code = self.get_inner_content(context, marker_node, translate=False)
|
|
78
78
|
result = self.eval_codes(context, code)
|
|
79
79
|
args = self.split_raw(command, 1, self.tag_head_re_args)
|
|
80
80
|
self.set_var(context, args, 0, result)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
dekshell-0.2.
|
|
2
|
-
dekshell-0.2.
|
|
3
|
-
dekshell-0.2.
|
|
1
|
+
dekshell-0.2.29.dist-info/METADATA,sha256=BhyPJENInjdzdb-hqwnsiZKHT8BN-kBMQKUnJ-Nql9I,573
|
|
2
|
+
dekshell-0.2.29.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
|
3
|
+
dekshell-0.2.29.dist-info/entry_points.txt,sha256=d-kbfULiUTZWIBBsrQF3J_-wESncF-4K2rwHT08grlI,75
|
|
4
4
|
dekshell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
dekshell/click/__entry__.py,sha256=CMuxUzXoEe4TcHFZwv-MNFwHnu1HSZCDpXFpqQ814uM,42
|
|
6
6
|
dekshell/click/__init__.py,sha256=rFzB_exzPQaIcbbms5PdHAU3NGdl2MBaYbq9v7g7BOI,1870
|
|
7
7
|
dekshell/core/__init__.py,sha256=7d3AjVUGIjXIXRYYiJ03rz5ZONTTojmGfgwpjGmKqtU,5448
|
|
8
8
|
dekshell/core/contexts/__init__.py,sha256=ynsfv37azOKfI2UKd0iPl2M6iBW-k5cb1BqSLOWuJpI,482
|
|
9
|
-
dekshell/core/contexts/methods.py,sha256=
|
|
9
|
+
dekshell/core/contexts/methods.py,sha256=bqKFeK6ZPpGIullMKcG_bh4OKSFTWKE6mD_tZzxDVgY,9722
|
|
10
10
|
dekshell/core/contexts/properties.py,sha256=esr51c6wDTDsuFXF2uj7WfyIGSq9H0dzqDqWzeMTNQE,2382
|
|
11
11
|
dekshell/core/markers/__init__.py,sha256=yRQazZ1dxMltFao_RQnDnawSnQcjN_4B930MjJhaZ40,1968
|
|
12
12
|
dekshell/core/markers/base/__init__.py,sha256=mrOgC5glSG60NMpflSi5mb4bXTmDgv2i-ZYUHCef2Nw,13826
|
|
@@ -27,7 +27,7 @@ dekshell/core/markers/invoke.py,sha256=To_U_FscoCbf7osvjC5MQTk2gjH5Mu_-06Kb22YQP
|
|
|
27
27
|
dekshell/core/markers/pip_.py,sha256=mxXa_oqcrk4Qz-HvhlkMoirsl-SbM9Fz610leNqP1o0,832
|
|
28
28
|
dekshell/core/markers/redirect.py,sha256=3vfkRQ2tnQ6rSGGn7csgUlpDi0s2ep5X7JU7NVvo0eI,1984
|
|
29
29
|
dekshell/core/markers/shell.py,sha256=43BDAAzMdmgZmemkW5buh_w4LL1GDGw-s9fNZo6vhag,1929
|
|
30
|
-
dekshell/core/markers/var.py,sha256=
|
|
30
|
+
dekshell/core/markers/var.py,sha256=CnmBDQvA5XcQlioczXFhCvIbDc8ex4RIAgDeQvFdIiY,5176
|
|
31
31
|
dekshell/core/markers/while_.py,sha256=e7lI5jsIM-qxNHMY_wUyCMvvesdXQibR5Ez2jNO9csc,1195
|
|
32
32
|
dekshell/core/plugin/__init__.py,sha256=jAB_KnnHJsyJR_zIfBU_HNLngyhcyyqVv05PdlNZtF8,428
|
|
33
33
|
dekshell/core/redirect.py,sha256=6YCJpG0TkQ4WMt7LBtDD_W1T-C-QkLtGRQw0S60qe54,1058
|
|
@@ -37,4 +37,4 @@ dekshell/utils/cmd.py,sha256=A0lEixQ7Ui0UxmeuymniyqCZXss9qQdX1C0COM7EEkQ,1234
|
|
|
37
37
|
dekshell/utils/pkg.py,sha256=TgYqRqawoJfjkxt6UAHnp9ttmpjuHiWRFbqxADOS1VE,1337
|
|
38
38
|
dekshell/utils/serializer.py,sha256=aIdF2Wzo-qHmIshv46jn1XD0X66vQ1JFdU-g3ZFbH2w,386
|
|
39
39
|
dekshell/utils/shell.py,sha256=0NoA2-SOOMinbmZZipwzL-npBbzPOdWEfdPVYqq5G5g,92
|
|
40
|
-
dekshell-0.2.
|
|
40
|
+
dekshell-0.2.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|