Skip to content

Commit

Permalink
Fix cwd when building the environment (#169)
Browse files Browse the repository at this point in the history
This was introduced in #164 by
mistake
  • Loading branch information
martinRenou authored Jan 28, 2025
1 parent 49fc94d commit 569240e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jupyterlite_xeus/add_on.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ class XeusAddon(FederatedExtensionAddon):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.xeus_output_dir = Path(self.manager.output_dir) / "xeus"
self.cwd_name = "xeus_cache"
self.cwd = TemporaryDirectory()
# TODO Make this configurable
# You can provide another cwd_name if you want
self.cwd_name = self.cwd.name

def post_build(self, manager):
if not self.environment_file:
Expand Down

0 comments on commit 569240e

Please sign in to comment.