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
877013fe
Kaydet (Commit)
877013fe
authored
May 09, 2014
tarafından
Tim Golden
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge
üst
55c23645
9c18fcf1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
build_ssl.py
PCbuild/build_ssl.py
+9
-9
No files found.
PCbuild/build_ssl.py
Dosyayı görüntüle @
877013fe
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
# python.exe build_ssl.py Release Win32
# python.exe build_ssl.py Release Win32
import
os
,
sys
,
re
,
shutil
import
os
,
sys
,
re
,
shutil
import
subprocess
# Find all "foo.exe" files on the PATH.
# Find all "foo.exe" files on the PATH.
def
find_all_on_path
(
filename
,
extras
=
None
):
def
find_all_on_path
(
filename
,
extras
=
None
):
...
@@ -46,22 +47,21 @@ def find_all_on_path(filename, extras = None):
...
@@ -46,22 +47,21 @@ def find_all_on_path(filename, extras = None):
# is available.
# is available.
def
find_working_perl
(
perls
):
def
find_working_perl
(
perls
):
for
perl
in
perls
:
for
perl
in
perls
:
fh
=
os
.
popen
(
'"
%
s" -e "use Win32;"'
%
perl
)
try
:
fh
.
read
()
subprocess
.
check_output
([
perl
,
"-e"
,
"use Win32;"
])
rc
=
fh
.
close
()
except
subprocess
.
CalledProcessError
:
if
rc
:
continue
continue
return
perl
else
:
print
(
"Can not find a suitable PERL:"
)
return
perl
if
perls
:
if
perls
:
print
(
"
t
he following perl interpreters were found:"
)
print
(
"
T
he following perl interpreters were found:"
)
for
p
in
perls
:
for
p
in
perls
:
print
(
" "
,
p
)
print
(
" "
,
p
)
print
(
" None of these versions appear suitable for building OpenSSL"
)
print
(
" None of these versions appear suitable for building OpenSSL"
)
else
:
else
:
print
(
"
NO perl interpreters were found on this machine at all!"
)
print
(
"NO perl interpreters were found on this machine at all!"
)
print
(
" Please install ActivePerl and ensure it appears on your path"
)
print
(
" Please install ActivePerl and ensure it appears on your path"
)
return
None
# Fetch SSL directory from VC properties
# Fetch SSL directory from VC properties
def
get_ssl_dir
():
def
get_ssl_dir
():
...
...
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