Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db9973e

Browse files
authored
Merge pull request #1041 from stonebig/master
reduce default path length
2 parents e1b823e + 38f5dd6 commit db9973e

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

make.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -507,17 +507,17 @@ def prepath(self):
507507
"DLLs",
508508
"Scripts",
509509
r"..\t",
510-
r"..\t\mingw32\bin",
510+
#r"..\t\mingw32\bin",
511511
]
512-
if (
513-
self.distribution.architecture == 32
514-
and osp.isdir(self.winpydir + self.MINGW32_PATH)
515-
):
516-
path += [r".." + self.MINGW32_PATH]
517-
if self.distribution.architecture == 32:
518-
path += [r".." + self.R_PATH + r"\i386"]
519-
if self.distribution.architecture == 64:
520-
path += [r".." + self.R_PATH + r"\x64"]
512+
#if (
513+
# self.distribution.architecture == 32
514+
# and osp.isdir(self.winpydir + self.MINGW32_PATH)
515+
#):
516+
# path += [r".." + self.MINGW32_PATH]
517+
#if self.distribution.architecture == 32:
518+
# path += [r".." + self.R_PATH + r"\i386"]
519+
#if self.distribution.architecture == 64:
520+
# path += [r".." + self.R_PATH + r"\x64"]
521521
path += [r".." + self.JULIA_PATH]
522522

523523
path += [r".." + self.NODEJS_PATH]
@@ -1020,7 +1020,7 @@ def _create_batch_scripts_initial(self):
10201020
rem get a normalize path
10211021
set WINPYDIRBASETMP=%~dp0..
10221022
pushd %WINPYDIRBASETMP%
1023-
set WINPYDIRBASE=%__CD__%
1023+
set WINPYDIRBASE=%CD%
10241024
set WINPYDIRBASETMP=
10251025
popd
10261026
@@ -1375,8 +1375,8 @@ def _create_batch_scripts_initial(self):
13751375
)
13761376
)
13771377
) else (
1378-
rem if it it launched from another directory , we keep it that one echo %__CD__%
1379-
if not "%__CD__%\"=="%~dp0" set WINPYWORKDIR1="%__CD__%"
1378+
rem if it it launched from another directory , we keep it that one echo %CD%
1379+
if not "%CD%\"=="%~dp0" set WINPYWORKDIR1="%CD%"
13801380
)
13811381
13821382
rem remove some potential last \

winpython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
OTHER DEALINGS IN THE SOFTWARE.
2929
"""
3030

31-
__version__ = '4.6.20211106'
31+
__version__ = '4.6.20211204'
3232
__license__ = __doc__
3333
__project_url__ = 'http://winpython.github.io/'

0 commit comments

Comments
 (0)