Skip to content

Commit 056c98f

Browse files
committed
fix getitem_looper not found
1 parent f0c833b commit 056c98f

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

purescripto/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
from purescripto.purescript_loader import LoadPureScript
2-
from purescripto.utilities import auto_link_repo

purescripto/rts.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ def make_pair(a, b):
2222

2323
env = {each: getattr(terms, each) for each in terms.__all__}
2424
env[make_pair.__name__] = make_pair
25-
env[get_attr_looper.__name__] = lambda a, b, c: call(
26-
"$" + get_attr_looper.__name__, a, b, c
27-
)
28-
env[get_item_looper.__name__] = lambda a, b, c: call(
29-
"$" + get_item_looper.__name__, a, b, c
30-
)
3125

3226
return env
3327

@@ -60,8 +54,8 @@ def get_attr_looper(depth, base, attr):
6054
"zfsr32": zfsr32,
6155
"Error": Exception,
6256
"import_module": _import_module_to_dict,
63-
("$" + get_attr_looper.__name__): get_attr_looper,
64-
("$" + get_item_looper.__name__): get_item_looper,
57+
get_attr_looper.__name__: get_attr_looper,
58+
get_item_looper.__name__: get_item_looper,
6559
}
6660

6761

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# e.g: entry_points={"console_scripts": ["yapypy=yapypy.cmd:compiler"]}
2525
install_requires=[
2626
"painless-import-extension",
27-
"pysexpr>=0.5,<0.6",
27+
"pysexpr>=0.5,<=0.6",
2828
"wisepy2>=1.1.1",
2929
"gitpython",
3030
], # dependencies

0 commit comments

Comments
 (0)