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
144f7228
Commit
144f7228
authored
May 02, 2016
by
J. Goutin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some fixes
After testing VC Builds Tools 2015 with current = Amd64 and target = Amd64, x86, Arm
parent
28ef4014
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
setuptools/msvc9_support.py
setuptools/msvc9_support.py
+17
-16
No files found.
setuptools/msvc9_support.py
View file @
144f7228
...
@@ -324,11 +324,11 @@ class PlatformInfo:
...
@@ -324,11 +324,11 @@ class PlatformInfo:
"
\
cu
r
rent" if target architecture is current architecture,
"
\
cu
r
rent" if target architecture is current architecture,
"
\
cu
r
rent_target" if not.
"
\
cu
r
rent_target" if not.
"""
"""
path = self.target_dir(True)
current = '
x86
' if forcex86 else self.current_cpu
if self.target_cpu !=
self.current_cpu
:
if self.target_cpu !=
current
:
current = '
x86
' if forcex86 else self.current_cpu
return self.target_dir().replace('
\\
', '
\\
%
s_
' % current)
path = path.replace('
\\
', '
\\
%
s_
' % current)
else:
return path
return ''
class RegistryInfo:
class RegistryInfo:
...
@@ -818,24 +818,27 @@ class EnvironmentInfo:
...
@@ -818,24 +818,27 @@ class EnvironmentInfo:
"""
"""
if self.vcver < 14.0:
if self.vcver < 14.0:
return []
return []
return
os.path.join(self.si.VCInstallDir, r'
Lib
\
store
\
references
')
return
[os.path.join(self.si.VCInstallDir, r'
Lib
\
store
\
references
')]
@property
@property
def VCTools(self):
def VCTools(self):
"""
"""
Microsoft Visual C++ Tools
Microsoft Visual C++ Tools
"""
"""
si = self.si
tools = [os.path.join(si.VCInstallDir, '
VCPackages
')]
forcex86 = True if self.vcver <= 10.0 else False
forcex86 = True if self.vcver <= 10.0 else False
arch_subdir = self.pi.cross_dir(forcex86)
arch_subdir = self.pi.cross_dir(forcex86)
tools = [os.path.join(self.si.VCInstallDir, '
VCPackages
'),
if arch_subdir:
os.path.join(self.
si.VCInstallDir, '
Bin
%
s
' % arch_subdir)]
tools += [os.path.join(
si.VCInstallDir, '
Bin
%
s
' % arch_subdir)]
if self.
pi.cross_dir() and self.
vcver >= 14.0:
if self.vcver >= 14.0:
path = '
Bin
%
s
' % self.pi.current_dir(hidex86=True)
path = '
Bin
%
s
' % self.pi.current_dir(hidex86=True)
tools += [os.path.join(s
elf.s
i.VCInstallDir, path)]
tools += [os.path.join(si.VCInstallDir, path)]
else:
else:
tools += [os.path.join(s
elf.s
i.VCInstallDir, '
Bin
')]
tools += [os.path.join(si.VCInstallDir, '
Bin
')]
return tools
return tools
...
@@ -999,9 +1002,8 @@ class EnvironmentInfo:
...
@@ -999,9 +1002,8 @@ class EnvironmentInfo:
return []
return []
arch_subdir = self.pi.current_dir(hidex86=True)
arch_subdir = self.pi.current_dir(hidex86=True)
path = r'
\
MSBuild
\
%
0.1
f
\
bin
%
s
' % (self.vcver, arch_subdir)
path = r'
MSBuild
\
%
0.1
f
\
bin
%
s
' % (self.vcver, arch_subdir)
return [os.path.join(self.si.ProgramFilesx86, path),
return [os.path.join(self.si.ProgramFilesx86, path)]
os.path.join(self.si.ProgramFiles, path)]
@property
@property
def HTMLHelpWorkshop(self):
def HTMLHelpWorkshop(self):
...
@@ -1011,8 +1013,7 @@ class EnvironmentInfo:
...
@@ -1011,8 +1013,7 @@ class EnvironmentInfo:
if self.vcver < 11.0:
if self.vcver < 11.0:
return []
return []
return [os.path.join(self.si.ProgramFilesx86, '
HTML
Help
Workshop
'),
return [os.path.join(self.si.ProgramFilesx86, '
HTML
Help
Workshop
')]
os.path.join(self.si.ProgramFiles, '
HTML
Help
Workshop
')]
@property
@property
def UCRTLibraries(self):
def UCRTLibraries(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