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
d42efce4
Commit
d42efce4
authored
Jun 21, 2010
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix finding visual studio 2008 on 64 bit #8854
parent
da66d6ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
msvc9compiler.py
msvc9compiler.py
+14
-4
No files found.
msvc9compiler.py
View file @
d42efce4
...
@@ -37,10 +37,20 @@ HKEYS = (_winreg.HKEY_USERS,
...
@@ -37,10 +37,20 @@ HKEYS = (_winreg.HKEY_USERS,
_winreg
.
HKEY_LOCAL_MACHINE
,
_winreg
.
HKEY_LOCAL_MACHINE
,
_winreg
.
HKEY_CLASSES_ROOT
)
_winreg
.
HKEY_CLASSES_ROOT
)
VS_BASE
=
r"Software\
Mic
rosoft\
Visu
alStudio\
%
0.1f"
NATIVE_WIN64
=
(
sys
.
platform
==
'win32'
and
sys
.
maxsize
>
2
**
32
)
VSEXPRESS_BASE
=
r"Software\
Mic
rosoft\
VCExp
ress\
%
0.1f"
if
NATIVE_WIN64
:
WINSDK_BASE
=
r"Software\
Mic
rosoft\
Mic
rosoft SDKs\
Wi
ndows"
# Visual C++ is a 32-bit application, so we need to look in
NET_BASE
=
r"Software\
Mic
rosoft\
.NETF
ramework"
# the corresponding registry branch, if we're running a
# 64-bit Python on Win64
VS_BASE
=
r"Software\
Wow
6432Node\
Mic
rosoft\
Visu
alStudio\
%
0.1f"
VSEXPRESS_BASE
=
r"Software\
Wow
6432Node\
Mic
rosoft\
VCExp
ress\
%
0.1f"
WINSDK_BASE
=
r"Software\
Wow
6432Node\
Mic
rosoft\
Mic
rosoft SDKs\
Wi
ndows"
NET_BASE
=
r"Software\
Wow
6432Node\
Mic
rosoft\
.NETF
ramework"
else
:
VS_BASE
=
r"Software\
Mic
rosoft\
Visu
alStudio\
%
0.1f"
VSEXPRESS_BASE
=
r"Software\
Mic
rosoft\
VCExp
ress\
%
0.1f"
WINSDK_BASE
=
r"Software\
Mic
rosoft\
Mic
rosoft SDKs\
Wi
ndows"
NET_BASE
=
r"Software\
Mic
rosoft\
.NETF
ramework"
# A map keyed by get_platform() return values to values accepted by
# A map keyed by get_platform() return values to values accepted by
# 'vcvarsall.bat'. Note a cross-compile may combine these (eg, 'x86_amd64' is
# 'vcvarsall.bat'. Note a cross-compile may combine these (eg, 'x86_amd64' is
...
...
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