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
827d92b5
Commit
827d92b5
authored
Mar 04, 2005
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #1075887: Don't require MSVC in distutils if there is nothing
to build. Will backport to 2.4
parent
b60285cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
msvccompiler.py
msvccompiler.py
+6
-0
No files found.
msvccompiler.py
View file @
827d92b5
...
...
@@ -211,6 +211,9 @@ class MSVCCompiler (CCompiler) :
self.__macros = MacroExpander(self.__version)
else:
self.__root = r"
Software
\
Microsoft
\
Devstudio
"
self.initialized = False
def initialize(self):
self.__paths = self.get_msvc_paths("
path
")
if len (self.__paths) == 0:
...
...
@@ -290,6 +293,7 @@ class MSVCCompiler (CCompiler) :
output_dir=None, macros=None, include_dirs=None, debug=0,
extra_preargs=None, extra_postargs=None, depends=None):
if not self.initialized: self.initialize()
macros, objects, extra_postargs, pp_opts, build =
\
self._setup_compile(output_dir, macros, include_dirs, sources,
depends, extra_postargs)
...
...
@@ -381,6 +385,7 @@ class MSVCCompiler (CCompiler) :
debug=0,
target_lang=None):
if not self.initialized: self.initialize()
(objects, output_dir) = self._fix_object_args (objects, output_dir)
output_filename =
\
self.library_filename (output_libname, output_dir=output_dir)
...
...
@@ -414,6 +419,7 @@ class MSVCCompiler (CCompiler) :
build_temp=None,
target_lang=None):
if not self.initialized: self.initialize()
(objects, output_dir) = self._fix_object_args (objects, output_dir)
(libraries, library_dirs, runtime_library_dirs) =
\
self._fix_lib_args (libraries, library_dirs, runtime_library_dirs)
...
...
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