From: Christian Heimes Date: Sun, 3 Feb 2008 14:34:18 +0000 (+0000) Subject: Fixed paths to Windows build directories in build_ext.py X-Git-Tag: v2.6a1~285 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3af3ecca92ca7b10b2c53c51166101267975f029;p=python Fixed paths to Windows build directories in build_ext.py Use vsbuild instead of devenv in build.bat and _bsddb.vcproj --- diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index ecfa177d76..29d5668c61 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -182,13 +182,13 @@ class build_ext (Command): self.include_dirs.append(os.path.join(sys.exec_prefix, 'PC')) if MSVC_VERSION == 9: self.library_dirs.append(os.path.join(sys.exec_prefix, - 'PCBuild9')) + 'PCbuild')) elif MSVC_VERSION == 8: self.library_dirs.append(os.path.join(sys.exec_prefix, - 'PCBuild8', 'win32release')) + 'PC', 'VS8.0', 'win32release')) else: self.library_dirs.append(os.path.join(sys.exec_prefix, - 'PCBuild')) + 'PC', 'VS7.1')) # OS/2 (EMX) doesn't support Debug vs Release builds, but has the # import libraries in its "Config" subdirectory diff --git a/PCbuild/_bsddb.vcproj b/PCbuild/_bsddb.vcproj index 205a1788d8..a59c7032ae 100644 --- a/PCbuild/_bsddb.vcproj +++ b/PCbuild/_bsddb.vcproj @@ -52,7 +52,7 @@ /> Options -> Projects and Solutions -> VC++ Directories, + Platform: Win32, Show directories for: Executable files). The _bsddb subprojects depends only on the db_static project of Berkeley DB. You have to choose either "Release", "Release AMD64", "Debug"