Skip to content

Commit 469e903

Browse files
committed
build on EE
1 parent 6498a9b commit 469e903

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,6 +1996,12 @@ def build(self):
19961996
# n.b.: we do the following to ensure that there's a directory when the
19971997
# importlib PathFinder initializes it's directory finders
19981998
mx.ensure_dir_exists(os.path.join(self.subject.get_output_root(), "modules"))
1999+
# TODO: backwards compat, remove once EE is updated
2000+
if not hasattr(self.subject, "args"):
2001+
self.subject.args = [
2002+
os.path.join(self.src_dir(), "setup.py"),
2003+
self.subject.get_output_root()
2004+
]
19992005
return super().build()
20002006

20012007
def clean(self, forBuild=False):

0 commit comments

Comments
 (0)