Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
afa1b309
Commit
afa1b309
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
a45e6d57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
Lib/distutils/msvc9compiler.py
Lib/distutils/msvc9compiler.py
+14
-4
Misc/NEWS
Misc/NEWS
+5
-0
No files found.
Lib/distutils/msvc9compiler.py
View file @
afa1b309
...
...
@@ -37,10 +37,20 @@ HKEYS = (_winreg.HKEY_USERS,
_winreg
.
HKEY_LOCAL_MACHINE
,
_winreg
.
HKEY_CLASSES_ROOT
)
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"
NATIVE_WIN64
=
(
sys
.
platform
==
'win32'
and
sys
.
maxsize
>
2
**
32
)
if
NATIVE_WIN64
:
# Visual C++ is a 32-bit application, so we need to look in
# 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
# 'vcvarsall.bat'. Note a cross-compile may combine these (eg, 'x86_amd64' is
...
...
Misc/NEWS
View file @
afa1b309
...
...
@@ -23,6 +23,11 @@ Core and Builtins
- In the unicode/str.format(), raise a ValueError when indexes to arguments are
too large.
Build
-----
- Issue #8854: Fix finding Visual Studio 2008 on Windows x64.
Library
-------
...
...
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