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
54325a75
Commit
54325a75
authored
Jul 02, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename msvc9_support to simply msvc.
parent
e24dda7a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
CHANGES.rst
CHANGES.rst
+2
-0
setuptools/extension.py
setuptools/extension.py
+2
-2
setuptools/msvc.py
setuptools/msvc.py
+3
-2
setuptools/tests/test_msvc9compiler.py
setuptools/tests/test_msvc9compiler.py
+1
-1
No files found.
CHANGES.rst
View file @
54325a75
...
...
@@ -7,6 +7,8 @@ Next
*
Pull
Request
#
174
:
Add
more
aggressive
support
for
Windows
SDK
in
msvc9compiler
patch
.
*
Renamed
``
setuptools
.
msvc9_support
``
to
``
setuptools
.
msvc
``.
v21
.2.0
-------
...
...
setuptools/extension.py
View file @
54325a75
...
...
@@ -8,11 +8,11 @@ import distutils.extension
from
setuptools.extern.six.moves
import
map
from
.dist
import
_get_unpatched
from
.
import
msvc
9_support
from
.
import
msvc
_Extension
=
_get_unpatched
(
distutils
.
core
.
Extension
)
msvc
9_support
.
patch_for_specialized_compiler
()
msvc
.
patch_for_specialized_compiler
()
def
_have_cython
():
"""
...
...
setuptools/msvc
9_support
.py
→
setuptools/msvc.py
View file @
54325a75
"""
This module
improve support for Microsoft Visual C++ compilers. (Windows Only)
This module
adds improved support for Microsoft Visual C++ compilers.
"""
import
os
import
collections
import
itertools
...
...
@@ -30,7 +31,7 @@ except ImportError:
pass
try
:
# Distutil file for MSVC++ 14.0 and upper (Python 3.5)
# Distutil file for MSVC++ 14.0 and upper (Python 3.5
+
)
import
distutils._msvccompiler
as
msvc14compiler
except
ImportError
:
pass
...
...
setuptools/tests/test_msvc9compiler.py
View file @
54325a75
...
...
@@ -69,7 +69,7 @@ class TestModulePatch:
def
test_patched
(
self
):
"Test the module is actually patched"
mod_name
=
distutils
.
msvc9compiler
.
find_vcvarsall
.
__module__
assert
mod_name
==
"setuptools.msvc
9_support
"
,
"find_vcvarsall unpatched"
assert
mod_name
==
"setuptools.msvc"
,
"find_vcvarsall unpatched"
def
test_no_registry_entryies_means_nothing_found
(
self
):
"""
...
...
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