Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f10021dd
Kaydet (Commit)
f10021dd
authored
Tem 30, 2010
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Drop 2.4 support. Add disabled algorithms to Configure options.
üst
e59ca2af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
build_ssl.py
PCbuild/build_ssl.py
+5
-8
No files found.
PCbuild/build_ssl.py
Dosyayı görüntüle @
f10021dd
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
# python.exe build_ssl.py Release x64
# python.exe build_ssl.py Release x64
# python.exe build_ssl.py Release Win32
# python.exe build_ssl.py Release Win32
from
__future__
import
with_statement
import
os
,
sys
,
re
,
shutil
import
os
,
sys
,
re
,
shutil
# Find all "foo.exe" files on the PATH.
# Find all "foo.exe" files on the PATH.
...
@@ -121,13 +122,10 @@ def fix_makefile(makefile):
...
@@ -121,13 +122,10 @@ def fix_makefile(makefile):
"""
"""
if
not
os
.
path
.
isfile
(
makefile
):
if
not
os
.
path
.
isfile
(
makefile
):
return
return
# 2.4 compatibility
fin
=
open
(
makefile
)
fin
=
open
(
makefile
)
if
1
:
#
with open(makefile) as fin:
with
open
(
makefile
)
as
fin
:
lines
=
fin
.
readlines
()
lines
=
fin
.
readlines
()
fin
.
close
()
with
open
(
makefile
,
'w'
)
as
fout
:
fout
=
open
(
makefile
,
'w'
)
if
1
:
# with open(makefile, 'w') as fout:
for
line
in
lines
:
for
line
in
lines
:
if
line
.
startswith
(
"PERL="
):
if
line
.
startswith
(
"PERL="
):
continue
continue
...
@@ -143,11 +141,10 @@ def fix_makefile(makefile):
...
@@ -143,11 +141,10 @@ def fix_makefile(makefile):
line
=
line
+
noalgo
line
=
line
+
noalgo
line
=
line
+
'
\n
'
line
=
line
+
'
\n
'
fout
.
write
(
line
)
fout
.
write
(
line
)
fout
.
close
()
def
run_configure
(
configure
,
do_script
):
def
run_configure
(
configure
,
do_script
):
print
(
"perl Configure "
+
configure
)
print
(
"perl Configure "
+
configure
+
" no-idea no-mdc2"
)
os
.
system
(
"perl Configure "
+
configure
)
os
.
system
(
"perl Configure "
+
configure
+
" no-idea no-mdc2"
)
print
(
do_script
)
print
(
do_script
)
os
.
system
(
do_script
)
os
.
system
(
do_script
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment