From 3af3ecca92ca7b10b2c53c51166101267975f029 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sun, 3 Feb 2008 14:34:18 +0000 Subject: [PATCH] Fixed paths to Windows build directories in build_ext.py Use vsbuild instead of devenv in build.bat and _bsddb.vcproj --- Lib/distutils/command/build_ext.py | 6 +++--- PCbuild/_bsddb.vcproj | 16 ++++++++-------- PCbuild/build.bat | 2 +- PCbuild/readme.txt | 10 +++++----- 4 files changed, 17 insertions(+), 17 deletions(-) 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" -- 2.50.1