Skip to content

Commit

Permalink
Maybe its USERPROFILE on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Apr 20, 2023
1 parent 2e962c1 commit 91828b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appyter/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.19.18-rc.3
0.19.18-rc.4
1 change: 1 addition & 0 deletions appyter/execspec/implementations/subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ async def _submit(self, **job):
env=dict(
SYSTEMROOT=os.environ.get('SYSTEMROOT', ''),
HOME=os.environ.get('HOME', ''),
USERPROFILE=os.environ.get('USERPROFILE', ''),
PYTHONPATH=':'.join(sys.path),
PATH=os.environ['PATH'],
),
Expand Down
1 change: 1 addition & 0 deletions appyter/render/nbexecute.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ async def nbexecute_async(ipynb='', emit=json_emitter_factory(sys.stdout), cwd='
env=dict(
SYSTEMROOT=os.environ.get('SYSTEMROOT', ''),
HOME=str(mnt),
USERPROFILE=str(mnt),
PYTHONPATH=':'.join(sys.path),
PATH=os.environ['PATH'],
),
Expand Down

0 comments on commit 91828b0

Please sign in to comment.