35
35
#
36
36
# go to https://github.com/numpy/numpy/wiki/Mingw-static-toolchain
37
37
# for 32 bit, download mingw32static-2014-11.7z and unzip it
38
- # copy mingw32static-2014-11\mingw32static
38
+ # copy mingw32static-2014-11\mingw32static
39
39
# to %WINPYTHONBASEDIR%\tools.win32\mingw32
40
40
# (so you have a %WINPYTHONBASEDIR%\tools.win32\mingw32\bin)
41
41
# for 64 bit, download mingw64static-2014-11.7z and unzip it
42
- # copy mingw64static-2014-11\mingw32static
42
+ # copy mingw64static-2014-11\mingw32static
43
43
# to %WINPYTHONBASEDIR%\tools.win-amd64\mingw32
44
44
# (so you have a %WINPYTHONBASEDIR%\tools.win-amd64\mingw32\bin)
45
45
@@ -579,7 +579,7 @@ def _create_launchers(self):
579
579
ipython_exe ,
580
580
args = ' notebook --matplotlib=inline' ,
581
581
workdir = r'${WINPYDIR}\..\notebooks' )
582
- # --notebook-dir=%~dp0
582
+ # --notebook-dir=%~dp0
583
583
# workdir='${WINPYDIR}\Scripts')
584
584
if osp .isfile (self .winpydir + self .THG_PATH ):
585
585
self .create_launcher ('TortoiseHg.exe' , 'tortoisehg.ico' ,
@@ -697,7 +697,7 @@ def _create_batch_scripts(self):
697
697
echo --------------------
698
698
rem (not working as of july 18th, 2014:
699
699
rem https://github.com/JuliaLang/IJulia.jl/issues/206 )
700
- rem echo to enable use of julia from python (the first time):
700
+ rem echo to enable use of julia from python (the first time):
701
701
rem echo launch winpython command prompt
702
702
rem echo cd ..\settings\.julia\v0.3\IJulia\python
703
703
rem echo python setup.py install
@@ -721,15 +721,15 @@ def _create_batch_scripts(self):
721
721
end If
722
722
723
723
Set colArgs = WScript.Arguments
724
- Add_or_removeLine colArgs(0), colArgs(1), colArgs(2)
724
+ Add_or_removeLine colArgs(0), colArgs(1), colArgs(2)
725
725
726
726
function Add_or_removeLine(strFilename, strFind, strAction)
727
727
Set inputFile = CreateObject("Scripting.FileSystemObject").OpenTextFile(strFilename, 1)
728
728
a_change = False
729
729
Do Until inputFile.AtEndOfStream
730
730
strLine = inputFile.ReadLine
731
731
If InStr(strLine, strFind) = 0 Then
732
- result_text= result_text & strLine & vbNewLine
732
+ result_text= result_text & strLine & vbNewLine
733
733
else
734
734
a_change = True
735
735
if strAction <> "-remove" then result_text= result_text & strLine & vbNewLine & strAction & vbNewLine
@@ -741,7 +741,7 @@ def _create_batch_scripts(self):
741
741
Set outputFile = CreateObject("Scripting.FileSystemObject").OpenTextFile(strFilename,2,true)
742
742
outputFile.Write result_text
743
743
outputFile.Close
744
- end if
744
+ end if
745
745
end function
746
746
""" )
747
747
@@ -776,21 +776,21 @@ def _create_batch_scripts(self):
776
776
pause
777
777
778
778
rem Handle case when winpython.ini is not already created
779
- if exist "%WINPYDIR..%\settings\winpython.ini" goto ini_exists
779
+ if exist "%WINPYDIR..%\settings\winpython.ini" goto ini_exists
780
780
781
781
echo [debug]>"%WINPYDIR..%\settings\winpython.ini"
782
782
echo state = disabled>>"%WINPYDIR..%\settings\winpython.ini"
783
783
echo [environment]>>"%WINPYDIR..%\settings\winpython.ini"
784
784
785
- :ini_exists
785
+ :ini_exists
786
786
%~dp0Add_or_removeLine.vbs %WINPYDIR..%\settings\winpython.ini "R_HOME = " -remove
787
787
%~dp0Add_or_removeLine.vbs %WINPYDIR..%\settings\winpython.ini "[environment]" "R_HOME = %R_HOME%"
788
788
goto r_end
789
789
790
- :r_bad
790
+ :r_bad
791
791
792
792
echo directory "%WINPYDIR..%\tools\%tmp_Rdirectory%\bin" not found
793
- echo please install R at "%WINPYDIR..%\tools\%tmp_Rdirectory%"
793
+ echo please install R at "%WINPYDIR..%\tools\%tmp_Rdirectory%"
794
794
pause
795
795
796
796
:r_end
@@ -1155,33 +1155,33 @@ def make_all(build_number, release_level, pyver,
1155
1155
# DO create only what version at a time
1156
1156
# You may have to manually delete previous build\winpython-.. directory
1157
1157
1158
- # make_all(1 , '', pyver='3.4', rootdir=r'D:\Winpython',
1159
- # verbose=False, archis=(32, ))
1160
- #make_all(1 , '', pyver='3.4', rootdir=r'D:\Winpython',
1158
+ make_all (2 , '' , pyver = '3.4' , rootdir = r'D:\Winpython' ,
1159
+ verbose = False , archis = (32 , ))
1160
+ #make_all(2 , '', pyver='3.4', rootdir=r'D:\Winpython',
1161
1161
# verbose=False, archis=(64, ), flavor='')
1162
- #make_all(6 , '', pyver='3.3', rootdir=r'D:\Winpython',
1162
+ #make_all(7 , '', pyver='3.3', rootdir=r'D:\Winpython',
1163
1163
# verbose=False, archis=(32, ))
1164
- #make_all(6 , '', pyver='3.3', rootdir=r'D:\Winpython',
1164
+ #make_all(7 , '', pyver='3.3', rootdir=r'D:\Winpython',
1165
1165
# verbose=False, archis=(64, ))
1166
- #make_all(3 , '', pyver='2.7', rootdir=r'D:\Winpython',
1166
+ #make_all(4 , '', pyver='2.7', rootdir=r'D:\Winpython',
1167
1167
# verbose=False, archis=(32, ))
1168
- #make_all(3 , '', pyver='2.7', rootdir=r'D:\Winpython',
1168
+ #make_all(4 , '', pyver='2.7', rootdir=r'D:\Winpython',
1169
1169
# verbose=False, archis=(64, ))
1170
- #make_all(3 , '', pyver='2.7', rootdir=r'D:\Winpython',
1170
+ #make_all(4 , '', pyver='2.7', rootdir=r'D:\Winpython',
1171
1171
# verbose=False, archis=(64, ), flavor='FlavorRfull')
1172
- #make_all(1 , '', pyver='3.4', rootdir=r'D:\Winpython',
1172
+ #make_all(2 , '', pyver='3.4', rootdir=r'D:\Winpython',
1173
1173
# verbose=False, archis=(64, ), flavor='FlavorIgraph')
1174
- #make_all(1 , '', pyver='3.4', rootdir=r'D:\Winpython',
1174
+ #make_all(2 , '', pyver='3.4', rootdir=r'D:\Winpython',
1175
1175
# verbose=False, archis=(32, ), flavor='FlavorKivy')
1176
- #make_all(15 , '', pyver='3.4', rootdir=r'D:\Winpython',
1176
+ #make_all(2 , '', pyver='3.4', rootdir=r'D:\Winpython',
1177
1177
# verbose=False, archis=(32, ), flavor='FlavorRfull')
1178
- #make_all(15 , '', pyver='3.4', rootdir=r'D:\Winpython',
1178
+ #make_all(2 , '', pyver='3.4', rootdir=r'D:\Winpython',
1179
1179
# verbose=False, archis=(64, ), flavor='FlavorRfull')
1180
- # make_all(1 , '', pyver='3.4', rootdir=r'D:\Winpython',
1180
+ #make_all(2 , '', pyver='3.4', rootdir=r'D:\Winpython',
1181
1181
# verbose=False, archis=(32, ), flavor='FlavorJulia')
1182
1182
#make_all(3, '', pyver='2.7', rootdir=r'D:\Winpython',
1183
1183
# verbose=False, archis=(32, ), flavor='FlavorJulia')
1184
- make_all (2 , '' , pyver = '3.4' , rootdir = r'D:\Winpython' ,
1185
- verbose = False , archis = (64 , ), flavor = 'FlavorJulia' )
1186
- #make_all(1 , '', pyver='3.4', rootdir=r'D:\Winpython',
1184
+ # make_all(2, '', pyver='3.4', rootdir=r'D:\Winpython',
1185
+ # verbose=False, archis=(64, ), flavor='FlavorJulia')
1186
+ #make_all(2 , '', pyver='3.4', rootdir=r'D:\Winpython',
1187
1187
# verbose=False, archis=(32, ), flavor='FlavorRJulia')
0 commit comments