Skip to content

Commit 2b919bd

Browse files
committed
tweak for spyder4
1 parent 8b5f147 commit 2b919bd

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

run_complement.bat

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ echo finish install of pdvega
113113
rem * =================
114114
if exist "%WINPYDIR%\Lib\site-packages\vega3" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py --sys-prefix vega3
115115

116+
rem 2019-03-30 workaround altair-3
117+
rem if exist "%WINPYDIR%\Lib\site-packages\jupyterlab" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build @jupyterlab/vega3-extension
116118

117119
rem * ==================
118120
echo finish install of rise
@@ -140,6 +142,13 @@ rem * =================
140142
if exist "%WINPYDIR%\Lib\site-packages\nteract_on_jupyter" "%WINPYDIR%\Scripts\jupyter.exe" serverextension enable nteract_on_jupyter
141143

142144

145+
rem * ==================
146+
echo finish install of Qgrid(2019-04-26)
147+
rem * =================
148+
if exist "%WINPYDIR%\Lib\site-packages\qgrid" "%WINPYDIR%\Scripts\jupyter.exe" nbextension enable --py --sys-prefix qgrid
149+
if exist "%WINPYDIR%\Lib\site-packages\qgrid" "%WINPYDIR%\Scripts\jupyter.exe" labextension install --no-build qgrid
150+
151+
143152
rem * =================
144153
echo finish install seaborn iris example
145154
rem * =================
@@ -171,9 +180,15 @@ if exist "%WINPYDIR%\..\settings\.spyder-py3\temp.py" del "%WINPYDIR%\..\setti
171180

172181

173182
rem * ====================
174-
echo patch spyder update reflex (2017-03-25)
183+
echo patch spyder update reflex (2019-05-18 : spyder, not spyderlib !)
175184
rem * ====================
176-
%WINPYDIR%\python.exe -c "from winpython.utils import patch_sourcefile;patch_sourcefile(r'%WINPYDIR%\Lib\site-packages\spyderlib\config\main.py', ' '+chr(39)+'check_updates_on_startup'+chr(39)+': True', ' '+chr(39)+'check_updates_on_startup'+chr(39)+': False' )"
185+
%WINPYDIR%\python.exe -c "from winpython.utils import patch_sourcefile;patch_sourcefile(r'%WINPYDIR%\Lib\site-packages\spyder\config\main.py', ' '+chr(39)+'check_updates_on_startup'+chr(39)+': True', ' '+chr(39)+'check_updates_on_startup'+chr(39)+': False' )"
186+
187+
rem * ====================
188+
echo patch spyder keep default white theme (2019-05-18)
189+
rem * ====================
190+
%WINPYDIR%\python.exe -c "from winpython.utils import patch_sourcefile;patch_sourcefile(r'%WINPYDIR%\Lib\site-packages\spyder\config\main.py', 'selected'+chr(39)+': '+chr(39)+'spyder/dark'+chr(39) , 'selected'+chr(39)+': '+chr(39)+'spyder'+chr(39) )"
191+
177192

178193

179194
rem * ===================

winpython/data/packages.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,9 @@ description=A Python Parser
11061106
[partd]
11071107
description=Appendable key-value storage
11081108

1109+
[passlib]
1110+
description=comprehensive password hashing framework supporting over 30 schemes
1111+
11091112
[path.py]
11101113
description=A module wrapper for os.path
11111114

0 commit comments

Comments
 (0)