Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
57eb312a
Commit
57eb312a
authored
Mar 07, 2009
by
Tarek Ziadé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed except syntax for py3
parent
efe5ba3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
msvc9compiler.py
msvc9compiler.py
+6
-6
No files found.
msvc9compiler.py
View file @
57eb312a
...
...
@@ -479,7 +479,7 @@ class MSVCCompiler(CCompiler) :
try
:
self
.
spawn
([
self
.
rc
]
+
pp_opts
+
[
output_opt
]
+
[
input_opt
])
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
CompileError
(
msg
)
continue
elif
ext
in
self
.
_mc_extensions
:
...
...
@@ -506,7 +506,7 @@ class MSVCCompiler(CCompiler) :
self
.
spawn
([
self
.
rc
]
+
[
"/fo"
+
obj
]
+
[
rc_file
])
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
CompileError
(
msg
)
continue
else
:
...
...
@@ -519,7 +519,7 @@ class MSVCCompiler(CCompiler) :
self
.
spawn
([
self
.
cc
]
+
compile_opts
+
pp_opts
+
[
input_opt
,
output_opt
]
+
extra_postargs
)
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
CompileError
(
msg
)
return
objects
...
...
@@ -544,7 +544,7 @@ class MSVCCompiler(CCompiler) :
pass
# XXX what goes here?
try
:
self
.
spawn
([
self
.
lib
]
+
lib_args
)
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
LibError
(
msg
)
else
:
log
.
debug
(
"skipping %s (up-to-date)"
,
output_filename
)
...
...
@@ -633,7 +633,7 @@ class MSVCCompiler(CCompiler) :
self
.
mkpath
(
os
.
path
.
dirname
(
output_filename
))
try
:
self
.
spawn
([
self
.
linker
]
+
ld_args
)
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
LinkError
(
msg
)
# embed the manifest
...
...
@@ -649,7 +649,7 @@ class MSVCCompiler(CCompiler) :
try
:
self
.
spawn
([
'mt.exe'
,
'-nologo'
,
'-manifest'
,
temp_manifest
,
out_arg
])
except
DistutilsExecError
,
msg
:
except
DistutilsExecError
as
msg
:
raise
LinkError
(
msg
)
else
:
log
.
debug
(
"skipping %s (up-to-date)"
,
output_filename
)
...
...
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