8000 bug fixing so spyder launches as expected · BigNuoLi/winpython@c0a027c · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c0a027c

Browse files
committed
bug fixing so spyder launches as expected
1 parent 2840ed6 commit c0a027c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,8 @@ def _create_batch_scripts_initial(self):
13281328
set WINPYWORKDIR=%~dp0..\Notebooks
13291329
13301330
set WINPYWORKDIR1=%~dp1
1331+
if "%WINPYWORKDIR1:~-1%"=="\" set WINPYWORKDIR1=%WINPYWORKDIR1:~0,-1%
1332+
13311333
if "%WINPYWORKDIR1%"=="" (
13321334
if not "%CD%\"=="%~dp0" set WINPYWORKDIR1=%CD%
13331335
)
@@ -1648,6 +1650,7 @@ def _create_batch_scripts(self):
16481650
"%WINPYDIR%\scripts\spyder3.exe" %* -w "%WINPYWORKDIR1%"
16491651
) else (
16501652
"%WINPYDIR%\scripts\spyder.exe" %* -w "%WINPYWORKDIR1%"
1653+
)
16511654
""",
16521655
)
16531656

0 commit comments

Comments
 (0)
0