Skip to content

Commit 60848a7

Browse files
committed
get spyder config directory portable
1 parent 5633e31 commit 60848a7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

portable/launchers_final/scripts/WinPythonIni.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
USERPROFILE = %HOME%
1818
[environment]
1919
## <?> Uncomment lines to override environment variables
20+
#SPYDER_CONFDIR = %HOME%\settings\.spyder-py3
2021
#JUPYTERLAB_SETTINGS_DIR = %HOME%\.jupyter\lab
2122
#JUPYTERLAB_WORKSPACES_DIR = %HOME%\.jupyter\lab\workspaces
2223
#R_HOME=%WINPYDIRBASE%\t\R
@@ -26,6 +27,7 @@
2627
#JULIA=%JULIA_HOME%%JULIA_EXE%
2728
#JULIA_PKGDIR=%WINPYDIRBASE%\settings\.julia
2829
#QT_PLUGIN_PATH=%WINPYDIR%\Lib\site-packages\pyqt5_tools\Qt\plugins
30+
2931
'''
3032

3133
def get_file(file_name):

portable/launchers_final/scripts/env.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ rem set PYTHONUTF8=1 creates issues in "movable" patching
3030
set HOME=%WINPYDIRBASE%\settings
3131
rem see https://github.com/winpython/winpython/issues/839
3232
rem set USERPROFILE=%HOME%
33+
set SPYDER_CONFDIR=%HOME%\settings\.spyder-py3
3334
set JUPYTER_DATA_DIR=%HOME%
3435
set JUPYTER_CONFIG_DIR=%WINPYDIR%\etc\jupyter
3536
set JUPYTER_CONFIG_PATH=%WINPYDIR%\etc\jupyter

0 commit comments

Comments
 (0)