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
651e3ffa
Commit
651e3ffa
authored
Aug 03, 2016
by
J. Goutin
Committed by
GitHub
Aug 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix from @vallsv
Fix from @vallsv
parent
2c4346bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
setuptools/msvc.py
setuptools/msvc.py
+4
-4
No files found.
setuptools/msvc.py
View file @
651e3ffa
...
...
@@ -87,8 +87,8 @@ def patch_for_specialized_compiler():
try
:
# Patch distutils._msvccompiler.library_dir_option
unpatched
[
'msvc14_library_dir_option'
]
=
msvc14compiler
.
library_dir_option
msvc14compiler
.
library_dir_option
=
msvc14_library_dir_option
unpatched
[
'msvc14_library_dir_option'
]
=
msvc14compiler
.
MSVCCompiler
.
library_dir_option
msvc14compiler
.
MSVCCompiler
.
library_dir_option
=
msvc14_library_dir_option
except
Exception
:
pass
...
...
@@ -219,10 +219,10 @@ def msvc14_get_vc_env(plat_spec):
raise
def
msvc14_library_dir_option
(
dir
):
def
msvc14_library_dir_option
(
self
,
dir
):
if
' '
in
dir
and
'"'
not
in
dir
:
dir
=
'"%s"'
%
dir
return
unpatched
[
'msvc14_library_dir_option'
](
dir
)
return
unpatched
[
'msvc14_library_dir_option'
](
self
,
dir
)
def
_augment_exception
(
exc
,
version
,
arch
=
''
):
...
...
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