Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7ac231e9
Commit
7ac231e9
authored
Jul 30, 2010
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop 2.4 support. Add disabled algorithms to Configure options.
parent
0cda9463
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
PCbuild/build_ssl.py
PCbuild/build_ssl.py
+5
-8
No files found.
PCbuild/build_ssl.py
View file @
7ac231e9
...
...
@@ -23,6 +23,7 @@
# python.exe build_ssl.py Release x64
# python.exe build_ssl.py Release Win32
from
__future__
import
with_statement
import
os
,
sys
,
re
,
shutil
# Find all "foo.exe" files on the PATH.
...
...
@@ -121,13 +122,10 @@ def fix_makefile(makefile):
"""
if
not
os
.
path
.
isfile
(
makefile
):
return
# 2.4 compatibility
fin
=
open
(
makefile
)
if
1
:
#
with open(makefile) as fin:
with
open
(
makefile
)
as
fin
:
lines
=
fin
.
readlines
()
fin
.
close
()
fout
=
open
(
makefile
,
'w'
)
if
1
:
# with open(makefile, 'w') as fout:
with
open
(
makefile
,
'w'
)
as
fout
:
for
line
in
lines
:
if
line
.
startswith
(
"PERL="
):
continue
...
...
@@ -143,11 +141,10 @@ def fix_makefile(makefile):
line
=
line
+
noalgo
line
=
line
+
'
\
n
'
fout
.
write
(
line
)
fout
.
close
()
def
run_configure
(
configure
,
do_script
):
print
(
"perl Configure "
+
configure
)
os
.
system
(
"perl Configure "
+
configure
)
print
(
"perl Configure "
+
configure
+
" no-idea no-mdc2"
)
os
.
system
(
"perl Configure "
+
configure
+
" no-idea no-mdc2"
)
print
(
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