-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamically try to get the relative path for the current working environment to set `MYPYPATH`
- Loading branch information
1 parent
49648b8
commit 80b7d08
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
set JULIAUP_DEPOT_PATH=%~dp0 | ||
set QUARTO_PYTHON=python | ||
|
||
setlocal EnableDelayedExpansion | ||
set "current_dir=%CD%\" | ||
set "conda_prefix=%CONDA_PREFIX%\" | ||
set "relative_conda_prefix=!conda_prefix:%CD%=.!" | ||
endlocal & set MYPYPATH="%relative_conda_prefix%Library\python" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters