File tree 2 files changed +12
-13
lines changed
2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -553,10 +553,13 @@ def _create_batch_scripts_initial(self):
553
553
554
554
self .create_batch_script ('env.bat' , r"""@echo off
555
555
set WINPYDIRBASE=%~dp0..
556
+
556
557
rem get a normalize path
557
- CALL :NORMALIZEPATH "%WINPYDIRBASE%"
558
- set WINPYDIRBASE=%RETVAL%
559
- set RETVAL=
558
+ set WINPYDIRBASETMP=%~dp0..
559
+ pushd %WINPYDIRBASETMP%
560
+ set WINPYDIRBASE=%CD%
561
+ set WINPYDIRBASETMP=
562
+ popd
560
563
561
564
set WINPYDIR=%WINPYDIRBASE%""" + "\\ " + self .python_name + r"""
562
565
@@ -609,16 +612,6 @@ def _create_batch_scripts_initial(self):
609
612
echo #WINPYWORKDIR = %%HOMEDRIVE%%%%HOMEPATH%%\Documents\WinPython%%WINPYVER%%\Notebooks>>"%winpython_ini%"
610
613
)
611
614
612
- rem *****
613
- rem http://stackoverflow.com/questions/1645843/resolve-absolute-path-from-relative-path-and-or-file-name
614
- rem *****
615
- :: ========== FUNCTIONS ==========
616
- EXIT /B
617
-
618
- :NORMALIZEPATH
619
- SET RETVAL=%~dpfn1
620
- EXIT /B
621
-
622
615
""" )
623
616
624
617
self .create_batch_script ('WinPython_PS_Prompt.ps1' , r"""
Original file line number Diff line number Diff line change @@ -562,6 +562,9 @@ description=D3 Viewer for Matplotlib
562
562
[mpmath]
563
563
description=Python library for arbitrary-precision floating-point arithmetic
564
564
565
+ [mypy]
566
+ description=Optional static typing for Python
567
+
565
568
[msgpack-python]
566
569
description=MessagePack (de)serializer.
567
570
@@ -1312,6 +1315,9 @@ description=An API and command-line toolset for Twitter (twitter.com)
1312
1315
[twython]
1313
1316
description=Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs
1314
1317
1318
+ [typed_ast]
1319
+ description=a fork of Python 2 and 3 ast modules with type comment support
1320
+
1315
1321
[uritemplate]
1316
1322
description=URI templates
1317
1323
You can’t perform that action at this time.
0 commit comments