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
81cbfafd
Commit
81cbfafd
authored
May 22, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing C for consistency.
parent
6e11e32e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setuptools/msvc9_support.py
setuptools/msvc9_support.py
+2
-2
No files found.
setuptools/msvc9_support.py
View file @
81cbfafd
...
@@ -76,7 +76,7 @@ def patch_for_specialized_compiler():
...
@@ -76,7 +76,7 @@ def patch_for_specialized_compiler():
try
:
try
:
# Patch distutils._msvccompiler._get_vc_env
# Patch distutils._msvccompiler._get_vc_env
unpatched
[
'msv14_get_vc_env'
]
=
msvc14compiler
.
_get_vc_env
unpatched
[
'msv
c
14_get_vc_env'
]
=
msvc14compiler
.
_get_vc_env
msvc14compiler
.
_get_vc_env
=
msvc14_get_vc_env
msvc14compiler
.
_get_vc_env
=
msvc14_get_vc_env
except
Exception
:
except
Exception
:
pass
pass
...
@@ -195,7 +195,7 @@ def msvc14_get_vc_env(plat_spec):
...
@@ -195,7 +195,7 @@ def msvc14_get_vc_env(plat_spec):
"""
"""
# Try to get environment from vcvarsall.bat (Classical way)
# Try to get environment from vcvarsall.bat (Classical way)
try
:
try
:
return
unpatched
[
'msv14_get_vc_env'
](
plat_spec
)
return
unpatched
[
'msv
c
14_get_vc_env'
](
plat_spec
)
except
distutils
.
errors
.
DistutilsPlatformError
:
except
distutils
.
errors
.
DistutilsPlatformError
:
# Pass error Vcvarsall.bat is missing
# Pass error Vcvarsall.bat is missing
pass
pass
...
...
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