summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/shelve.rst14
-rw-r--r--Doc/library/weakref.rst5
-rwxr-xr-xLib/test/regrtest.py29
-rw-r--r--Makefile.pre.in2
-rw-r--r--Misc/RPM/python-3.1.spec1
-rw-r--r--Misc/valgrind-python.supp2
-rw-r--r--Modules/Setup.dist19
-rw-r--r--PC/VS7.1/python.build1
-rw-r--r--PC/VS7.1/python.iss3
-rw-r--r--PC/VS7.1/python20.wse18
-rw-r--r--PC/VS7.1/readme.txt91
-rw-r--r--PC/VS8.0/pyproject.vsprops24
-rw-r--r--PC/os2emx/README.os2emx52
-rw-r--r--PC/os2vacpp/makefile14
-rw-r--r--PC/os2vacpp/makefile.omk8
-rw-r--r--PCbuild/pyproject.vsprops24
-rw-r--r--PCbuild/readme.txt9
-rw-r--r--PCbuild/vs9to8.py2
18 files changed, 26 insertions, 292 deletions
diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst
index 6dfef68..62005a4 100644
--- a/Doc/library/shelve.rst
+++ b/Doc/library/shelve.rst
@@ -102,12 +102,14 @@ Restrictions
.. class:: BsdDbShelf(dict[, protocol=None[, writeback=False]])
A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`next`,
- :meth:`previous`, :meth:`last` and :meth:`set_location` which are available in
- the :mod:`bsddb` module but not in other database modules. The *dict* object
- passed to the constructor must support those methods. This is generally
- accomplished by calling one of :func:`bsddb.hashopen`, :func:`bsddb.btopen` or
- :func:`bsddb.rnopen`. The optional *protocol* and *writeback* parameters have
- the same interpretation as for the :class:`Shelf` class.
+ :meth:`previous`, :meth:`last` and :meth:`set_location` which are available
+ in the third-party :mod:`bsddb` module from `pybsddb
+ <http://www.jcea.es/programacion/pybsddb.htm>`_ but not in other database
+ modules. The *dict* object passed to the constructor must support those
+ methods. This is generally accomplished by calling one of
+ :func:`bsddb.hashopen`, :func:`bsddb.btopen` or :func:`bsddb.rnopen`. The
+ optional *protocol* and *writeback* parameters have the same interpretation
+ as for the :class:`Shelf` class.
.. class:: DbfilenameShelf(filename[, flag='c'[, protocol=None[, writeback=False]]])
diff --git a/Doc/library/weakref.rst b/Doc/library/weakref.rst
index 3681d81..0f3ebe6 100644
--- a/Doc/library/weakref.rst
+++ b/Doc/library/weakref.rst
@@ -59,9 +59,8 @@ is exposed by the :mod:`weakref` module for the benefit of advanced uses.
Not all objects can be weakly referenced; those objects which can include class
instances, functions written in Python (but not in C), instance methods, sets,
-frozensets, file objects, :term:`generator`\s, type objects, :class:`DBcursor`
-objects from the :mod:`bsddb` module, sockets, arrays, deques, and regular
-expression pattern objects.
+frozensets, file objects, :term:`generator`\s, type objects, sockets, arrays,
+deques, and regular expression pattern objects.
Several builtin types such as :class:`list` and :class:`dict` do not directly
support weak references but can add support through subclassing::
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index e80a55e..e98a99a 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -114,9 +114,6 @@ resources to test. Currently only the following are defined:
network - It is okay to run tests that use external network
resource, e.g. testing SSL support for sockets.
- bsddb - It is okay to run the bsddb testsuite, which takes
- a long time to complete.
-
decimal - Test the decimal module against a large suite that
verifies compliance with standards.
@@ -130,8 +127,8 @@ resources to test. Currently only the following are defined:
gui - Run tests that require a running GUI.
To enable all resources except one, use '-uall,-<resource>'. For
-example, to run all the tests except for the bsddb tests, give the
-option '-uall,-bsddb'.
+example, to run all the tests except for the gui tests, give the
+option '-uall,-gui'.
"""
import getopt
@@ -182,7 +179,7 @@ if sys.platform == 'darwin':
from test import support
-RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb',
+RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network',
'decimal', 'compiler', 'subprocess', 'urlfetch', 'gui')
@@ -900,7 +897,6 @@ _expectations = {
'win32':
"""
test__locale
- test_bsddb3
test_crypt
test_curses
test_dbm
@@ -937,8 +933,6 @@ _expectations = {
'mac':
"""
test_atexit
- test_bsddb
- test_bsddb3
test_bz2
test_crypt
test_curses
@@ -966,7 +960,6 @@ _expectations = {
""",
'unixware7':
"""
- test_bsddb
test_epoll
test_largefile
test_kqueue
@@ -978,7 +971,6 @@ _expectations = {
""",
'openunix8':
"""
- test_bsddb
test_epoll
test_largefile
test_kqueue
@@ -991,7 +983,6 @@ _expectations = {
'sco_sv3':
"""
test_asynchat
- test_bsddb
test_fork1
test_epoll
test_gettext
@@ -1012,8 +1003,6 @@ _expectations = {
'darwin':
"""
test__locale
- test_bsddb
- test_bsddb3
test_curses
test_epoll
test_dbm_gnu
@@ -1025,7 +1014,6 @@ _expectations = {
""",
'sunos5':
"""
- test_bsddb
test_curses
test_dbm
test_epoll
@@ -1038,7 +1026,6 @@ _expectations = {
""",
'hp-ux11':
"""
- test_bsddb
test_curses
test_epoll
test_dbm_gnu
@@ -1068,7 +1055,6 @@ _expectations = {
""",
'cygwin':
"""
- test_bsddb3
test_curses
test_dbm
test_epoll
@@ -1082,7 +1068,6 @@ _expectations = {
'os2emx':
"""
test_audioop
- test_bsddb3
test_curses
test_epoll
test_kqueue
@@ -1096,8 +1081,6 @@ _expectations = {
""",
'freebsd4':
"""
- test_bsddb
- test_bsddb3
test_epoll
test_dbm_gnu
test_locale
@@ -1115,8 +1098,6 @@ _expectations = {
""",
'aix5':
"""
- test_bsddb
- test_bsddb3
test_bz2
test_epoll
test_dbm_gnu
@@ -1132,8 +1113,6 @@ _expectations = {
""",
'openbsd3':
"""
- test_bsddb
- test_bsddb3
test_ctypes
test_epoll
test_dbm_gnu
@@ -1149,8 +1128,6 @@ _expectations = {
""",
'netbsd3':
"""
- test_bsddb
- test_bsddb3
test_ctypes
test_curses
test_epoll
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 83fa48d..378707a 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -840,7 +840,7 @@ LIBSUBDIRS= tkinter site-packages test test/output test/data \
email email/mime email/test email/test/data \
html json json/tests http dbm xmlrpc \
sqlite3 sqlite3/test \
- logging bsddb bsddb/test csv wsgiref urllib \
+ logging csv wsgiref urllib \
lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \
lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \
ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \
diff --git a/Misc/RPM/python-3.1.spec b/Misc/RPM/python-3.1.spec
index acbe38c..a13a080 100644
--- a/Misc/RPM/python-3.1.spec
+++ b/Misc/RPM/python-3.1.spec
@@ -360,7 +360,6 @@ rm -f mainpkg.files tools.files
%{__prefix}/%{libdirname}/python%{libvers}/email/mime
%{__prefix}/%{libdirname}/python%{libvers}/sqlite3
%{__prefix}/%{libdirname}/python%{libvers}/compiler
-%{__prefix}/%{libdirname}/python%{libvers}/bsddb
%{__prefix}/%{libdirname}/python%{libvers}/hotshot
%{__prefix}/%{libdirname}/python%{libvers}/logging
%{__prefix}/%{libdirname}/python%{libvers}/lib-old
diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp
index 319e5d1..a66305b 100644
--- a/Misc/valgrind-python.supp
+++ b/Misc/valgrind-python.supp
@@ -5,7 +5,7 @@
#
# cd python/dist/src
# valgrind --tool=memcheck --suppressions=Misc/valgrind-python.supp \
-# ./python -E ./Lib/test/regrtest.py -u bsddb,network
+# ./python -E ./Lib/test/regrtest.py -u gui,network
#
# You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
# to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index 5e29bc6..9f189de 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -324,25 +324,6 @@ _symtable symtablemodule.c
#_gdbm _gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
-# Sleepycat Berkeley DB interface.
-#
-# This requires the Sleepycat DB code, see http://www.sleepycat.com/
-# The earliest supported version of that library is 3.0, the latest
-# supported version is 4.0 (4.1 is specifically not supported, as that
-# changes the semantics of transactional databases). A list of available
-# releases can be found at
-#
-# http://www.sleepycat.com/update/index.html
-#
-# Edit the variables DB and DBLIBVERto point to the db top directory
-# and the subdirectory of PORT where you built it.
-#DB=/usr/local/BerkeleyDB.4.0
-#DBLIBVER=4.0
-#DBINC=$(DB)/include
-#DBLIB=$(DB)/lib
-#_bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
-
-
# Helper module for various ascii-encoders
#binascii binascii.c
diff --git a/PC/VS7.1/python.build b/PC/VS7.1/python.build
index 61bbe89..171101d 100644
--- a/PC/VS7.1/python.build
+++ b/PC/VS7.1/python.build
@@ -12,7 +12,6 @@
<excludeprojects>
<include name="_tkinter.vcproj" />
<include name="bz2.vcproj" />
- <include name="_bsddb.vcproj" />
<include name="_sqlite3.vcproj" />
<include name="_ssl.vcproj" />
</excludeprojects>
diff --git a/PC/VS7.1/python.iss b/PC/VS7.1/python.iss
index 2f6c8b7..ca6a3c0 100644
--- a/PC/VS7.1/python.iss
+++ b/PC/VS7.1/python.iss
@@ -137,9 +137,6 @@ Source: libs\_testcapi.lib; DestDir: {app}\libs; CopyMode: alwaysoverwrite; Comp
Source: DLLs\_tkinter.pyd; DestDir: {app}\DLLs; CopyMode: alwaysoverwrite; Components: tk
Source: libs\_tkinter.lib; DestDir: {app}\libs; CopyMode: alwaysoverwrite; Components: tk
-Source: DLLs\bsddb.pyd; DestDir: {app}\DLLs; CopyMode: alwaysoverwrite; Components: main
-Source: libs\bsddb.lib; DestDir: {app}\libs; CopyMode: alwaysoverwrite; Components: main
-
Source: DLLs\mmap.pyd; DestDir: {app}\DLLs; CopyMode: alwaysoverwrite; Components: main
Source: libs\mmap.lib; DestDir: {app}\libs; CopyMode: alwaysoverwrite; Components: main
diff --git a/PC/VS7.1/python20.wse b/PC/VS7.1/python20.wse
index 8611b8e..2e7f6ad3 100644
--- a/PC/VS7.1/python20.wse
+++ b/PC/VS7.1/python20.wse
@@ -1754,11 +1754,6 @@ item: Install File
Flags=0000000000000010
end
item: Install File
- Source=.\_bsddb.pyd
- Destination=%MAINDIR%\DLLs\_bsddb.pyd
- Flags=0000000000000010
-end
-item: Install File
Source=.\bz2.pyd
Destination=%MAINDIR%\DLLs\bz2.pyd
Flags=0000000000000010
@@ -1851,11 +1846,6 @@ item: Install File
Flags=0000000000000010
end
item: Install File
- Source=.\_bsddb.lib
- Destination=%MAINDIR%\libs\_bsddb.lib
- Flags=0000000000000010
-end
-item: Install File
Source=.\bz2.lib
Destination=%MAINDIR%\libs\bz2.lib
Flags=0000000000000010
@@ -1940,14 +1930,6 @@ end
item: Remark
end
item: Install File
- Source=..\lib\bsddb\*.py
- Destination=%MAINDIR%\Lib\bsddb
- Description=Berkeley database package
- Flags=0000000100000010
-end
-item: Remark
-end
-item: Install File
Source=..\lib\compiler\*.py
Destination=%MAINDIR%\Lib\compiler
Description=Python compiler written in Python
diff --git a/PC/VS7.1/readme.txt b/PC/VS7.1/readme.txt
index 9b78e6d..8fb069f 100644
--- a/PC/VS7.1/readme.txt
+++ b/PC/VS7.1/readme.txt
@@ -138,82 +138,6 @@ bz2
All of this managed to build bzip2-1.0.3\libbz2.lib, which the Python
project links in.
-
-_bsddb
- To use the version of bsddb that Python is built with by default, invoke
- (in the dist directory)
-
- svn export http://svn.python.org/projects/external/db-4.4.20
-
-
- Then open a VS.NET 2003 shell, and invoke:
-
- devenv db-4.4.20\build_win32\Berkeley_DB.sln /build Release /project db_static
-
- and do that a second time for a Debug build too:
-
- devenv db-4.4.20\build_win32\Berkeley_DB.sln /build Debug /project db_static
-
- Alternatively, if you want to start with the original sources,
- go to Sleepycat's download page:
- http://www.sleepycat.com/downloads/releasehistorybdb.html
-
- and download version 4.4.20.
-
- With or without strong cryptography? You can choose either with or
- without strong cryptography, as per the instructions below. By
- default, Python is built and distributed WITHOUT strong crypto.
-
- Unpack the sources; if you downloaded the non-crypto version, rename
- the directory from db-4.4.20.NC to db-4.4.20.
-
- Now apply any patches that apply to your version.
-
- Open
- dist\db-4.4.20\docs\index.html
-
- and follow the "Windows->Building Berkeley DB with Visual C++ .NET"
- instructions for building the Sleepycat
- software. Note that Berkeley_DB.dsw is in the build_win32 subdirectory.
- Build the "db_static" project, for "Release" mode.
-
- To run extensive tests, pass "-u bsddb" to regrtest.py. test_bsddb3.py
- is then enabled. Running in verbose mode may be helpful.
-
- XXX The test_bsddb3 tests don't always pass, on Windows (according to
- XXX me) or on Linux (according to Barry). (I had much better luck
- XXX on Win2K than on Win98SE.) The common failure mode across platforms
- XXX is
- XXX DBAgainError: (11, 'Resource temporarily unavailable -- unable
- XXX to join the environment')
- XXX
- XXX and it appears timing-dependent. On Win2K I also saw this once:
- XXX
- XXX test02_SimpleLocks (bsddb.test.test_thread.HashSimpleThreaded) ...
- XXX Exception in thread reader 1:
- XXX Traceback (most recent call last):
- XXX File "C:\Code\python\lib\threading.py", line 411, in __bootstrap
- XXX self.run()
- XXX File "C:\Code\python\lib\threading.py", line 399, in run
- XXX apply(self.__target, self.__args, self.__kwargs)
- XXX File "C:\Code\python\lib\bsddb\test\test_thread.py", line 268, in
- XXX readerThread
- XXX rec = c.next()
- XXX DBLockDeadlockError: (-30996, 'DB_LOCK_DEADLOCK: Locker killed
- XXX to resolve a deadlock')
- XXX
- XXX I'm told that DBLockDeadlockError is expected at times. It
- XXX doesn't cause a test to fail when it happens (exceptions in
- XXX threads are invisible to unittest).
-
- Building for Win64:
- - open a VS.NET 2003 command prompt
- - run the SDK setenv.cmd script, passing /RETAIL and the target
- architecture (/SRV64 for Itanium, /X64 for AMD64)
- - build BerkeleyDB with the solution configuration matching the
- target ("Release IA64" for Itanium, "Release AMD64" for AMD64), e.g.
- devenv db-4.4.20\build_win32\Berkeley_DB.sln /build "Release AMD64" /project db_static /useenv
-
_sqlite3
Python wrapper for SQLite library.
@@ -363,7 +287,7 @@ Setting up the environment
Extension modules
To build those extension modules which require external libraries
- (_tkinter, bz2, _bsddb, _sqlite3, _ssl) you can follow the instructions
+ (_tkinter, bz2, _sqlite3, _ssl) you can follow the instructions
for the Visual Studio build above, with a few minor modifications. These
instructions have only been tested using the sources in the Python
subversion repository - building from original sources should work, but
@@ -386,19 +310,6 @@ Extension modules
bz2
No changes are needed
- _bsddb
- The file db.build should be copied from the Python PCBuild directory
- to the directory db-4.4.20\build_win32.
-
- The file db_static.vcproj in db-4.4.20\build_win32 should be edited to
- remove the string "$(SolutionDir)" - this occurs in 2 places, only
- relevant for 64-bit builds. (The edit is required as otherwise, nant
- wants to read the solution file, which is not in a suitable form).
-
- The bsddb library can then be build with the command
- nant -buildfile:db.build all
- run from the db-4.4.20\build_win32 directory.
-
_sqlite3
No changes are needed. However, in order for the tests to succeed, a
copy of sqlite3.dll must be downloaded, and placed alongside
diff --git a/PC/VS8.0/pyproject.vsprops b/PC/VS8.0/pyproject.vsprops
index 24ecf43..1ba124f 100644
--- a/PC/VS8.0/pyproject.vsprops
+++ b/PC/VS8.0/pyproject.vsprops
@@ -49,30 +49,6 @@
Value="..\..\.."
/>
<UserMacro
- Name="bsddbDir"
- Value="$(bsddb44Dir)"
- />
- <UserMacro
- Name="bsddbDepLibs"
- Value="$(bsddb44DepLibs)"
- />
- <UserMacro
- Name="bsddb44Dir"
- Value="$(externalsDir)\db-4.4.20\build_win32"
- />
- <UserMacro
- Name="bsddb44DepLibs"
- Value=""
- />
- <UserMacro
- Name="bsddb45Dir"
- Value="$(externalsDir)\db-4.5.20.x\build_windows"
- />
- <UserMacro
- Name="bsddb45DepLibs"
- Value="ws2_32.lib"
- />
- <UserMacro
Name="sqlite3Dir"
Value="$(externalsDir)\sqlite-3.5.9"
/>
diff --git a/PC/os2emx/README.os2emx b/PC/os2emx/README.os2emx
index e186790..fcf55d2 100644
--- a/PC/os2emx/README.os2emx
+++ b/PC/os2emx/README.os2emx
@@ -123,7 +123,7 @@ Optional modules:
Where I've been able to locate the required 3rd party packages already
ported to OS/2, I've built and included them.
-These include ncurses (_curses, _curses_panel), BSD DB (bsddb185),
+These include ncurses (_curses, _curses_panel),
GNU GDBM (gdbm, dbm), zlib (zlib), GNU Readline (readline), and GNU UFC
(crypt).
@@ -150,10 +150,6 @@ Upstream source patches:
No updates to the Python 2.6 release have become available.
-Eberhard Mattes' EMXFIX04 update to his EMX 0.9d tools suite includes
-bug fixes for the BSD DB library. The bsddb module included in this
-port incorporates these fixes.
-
Library and other distributed Python code:
The Python standard library lives in the Lib directory. All the standard
@@ -326,7 +322,6 @@ Procedure
GNU UltraFast Crypt HAVE_UFC
Tcl/Tk HAVE_TCLTK (not known to work)
GNU Readline HAVE_GREADLINE
- BSD DB (v1.85) HAVE_BSDDB
ncurses HAVE_NCURSES
GNU gdbm HAVE_GDBM
libbz2 HAVE_BZ2
@@ -388,52 +383,23 @@ EMXVIEW.ZIP archive as part of the complete EMX development tools suite).
Because of other side-effects I have modified the test_fcntl.py test
script to deactivate the exercising of the missing functionality.
-4. the PyBSDDB3 module has been imported into the Python standard
-library, with the intent of superceding the BSDDB 1.85 module (bsddb).
-As I don't yet have a satisfactory port of Sleepcat's more recent DB
-library (3.3.x/4.0.x/4.1.x), I haven't included a binary of this
-module. I have left the Python part of the PyBSDDB package in this
-distribution for completeness.
-
-5. As a consequence of the PyBSDDB3 module being imported, the former
-BSD DB (bsddb) module, linked against the DB v1.85 library from EMX,
-has been renamed bsddb185. The bsddb185 module will not be built by
-default on most platforms, but in the absence of a PyBSDDB3 module I
-have retained it in the EMX port.
-
-Version 1.85 of the DB library is widely known to have bugs, although
-some patches have become available (and are incorporated into the
-included bsddb185 module). Unless you have problems with software
-licenses which would rule out GDBM (and the dbm module because it is
-linked against the GDBM library) or need it for file format compatibility,
-you may be better off deleting it and relying on GDBM.
-
-Any code you have which uses the v1.85 bsddb module can be modified to
-use the renamed module by changing
-
- import bsddb
-
-to
-
- import bsddb185 as bsddb
-
-6. The readline module has been linked against ncurses rather than the
+4. The readline module has been linked against ncurses rather than the
termcap library supplied with EMX.
-7. I have configured this port to use "/" as the preferred path separator
+5. I have configured this port to use "/" as the preferred path separator
character, rather than "\" ('\\'), in line with the convention supported
by EMX. Backslashes are still supported of course, and still appear in
unexpected places due to outside sources that don't get normalised.
-8. While the DistUtils components are now functional, other
+6. While the DistUtils components are now functional, other
packaging/binary handling tools and utilities such as those included in
the Demo and Tools directories - freeze in particular - are unlikely to
work. If you do get them going, I'd like to know about your success.
-9. I haven't set out to support the [BEGIN|END]LIBPATH functionality
+7. I haven't set out to support the [BEGIN|END]LIBPATH functionality
supported by one of the earlier ports (Rush's??). If it works let me know.
-10. As a result of the limitations imposed by EMX's library routines, the
+8. As a result of the limitations imposed by EMX's library routines, the
standard extension module pwd only synthesises a simple passwd database,
and the grp module cannot be supported at all.
@@ -511,11 +477,7 @@ strftime routine - I'm looking into using one from FreeBSD, but its not
ready yet.
16. I have successfully built this port with Andy Zabolotny's ports of
-pgcc 2.95 and gcc 3.2.1, in addition to EM's gcc 2.8.1. To use the
-bsddb185 module with the gcc 3.2.1 build, I had to recompile the DB library
-with gcc 3.2.1 - I don't know why, but trying to import the module built
-against a DB library compiled with gcc 2.8.1 would result in a SYS3175
-error.
+pgcc 2.95 and gcc 3.2.1, in addition to EM's gcc 2.8.1.
I have not attempted to compile Python with any version of gcc prior to
v2.8.1.
diff --git a/PC/os2vacpp/makefile b/PC/os2vacpp/makefile
index 8aecdea..e2f0adc 100644
--- a/PC/os2vacpp/makefile
+++ b/PC/os2vacpp/makefile
@@ -408,20 +408,6 @@ binascii.obj: $(PY_INCLUDE)\abstract.h $(PY_INCLUDE)\ceval.h $(PY_INCLUDE)\class
$(PY_INCLUDE)\sliceobject.h $(PY_INCLUDE)\stringobject.h \
$(PY_INCLUDE)\sysmodule.h $(PY_INCLUDE)\traceback.h $(PY_INCLUDE)\tupleobject.h
-bsddbmodule.obj: $(PY_INCLUDE)\abstract.h $(PY_INCLUDE)\ceval.h \
- $(PY_INCLUDE)\classobject.h $(PY_INCLUDE)\cobject.h $(PY_INCLUDE)\complexobject.h \
- pyconfig.h $(PY_INCLUDE)\dictobject.h $(PY_INCLUDE)\fileobject.h \
- $(PY_INCLUDE)\floatobject.h $(PY_INCLUDE)\funcobject.h $(PY_INCLUDE)\import.h \
- $(PY_INCLUDE)\intobject.h $(PY_INCLUDE)\intrcheck.h $(PY_INCLUDE)\listobject.h \
- $(PY_INCLUDE)\longobject.h $(PY_INCLUDE)\methodobject.h \
- $(PY_INCLUDE)\modsupport.h $(PY_INCLUDE)\moduleobject.h $(PY_INCLUDE)\mymalloc.h \
- $(PY_INCLUDE)\myproto.h $(PY_INCLUDE)\object.h $(PY_INCLUDE)\objimpl.h \
- $(PY_INCLUDE)\pydebug.h $(PY_INCLUDE)\pyerrors.h $(PY_INCLUDE)\pyfpe.h \
- $(PY_INCLUDE)\pystate.h $(PY_INCLUDE)\python.h $(PY_INCLUDE)\pythonrun.h \
- $(PY_INCLUDE)\rangeobject.h $(PY_INCLUDE)\sliceobject.h \
- $(PY_INCLUDE)\stringobject.h $(PY_INCLUDE)\sysmodule.h $(PY_INCLUDE)\traceback.h \
- $(PY_INCLUDE)\tupleobject.h
-
cmathmodule.obj: $(PY_INCLUDE)\abstract.h $(PY_INCLUDE)\ceval.h \
$(PY_INCLUDE)\classobject.h $(PY_INCLUDE)\cobject.h $(PY_INCLUDE)\complexobject.h \
pyconfig.h $(PY_INCLUDE)\dictobject.h $(PY_INCLUDE)\fileobject.h \
diff --git a/PC/os2vacpp/makefile.omk b/PC/os2vacpp/makefile.omk
index 448e04f..aa12c96 100644
--- a/PC/os2vacpp/makefile.omk
+++ b/PC/os2vacpp/makefile.omk
@@ -360,14 +360,6 @@ binascii.obj: abstract.h ceval.h classobject.h cobject.h complexobject.h \
pythonrun.h rangeobject.h sliceobject.h stringobject.h sysmodule.h \
traceback.h tupleobject.h
-bsddbmodule.obj: abstract.h ceval.h classobject.h cobject.h complexobject.h \
- pyconfig.h dictobject.h fileobject.h floatobject.h funcobject.h \
- import.h intobject.h intrcheck.h listobject.h longobject.h \
- methodobject.h modsupport.h moduleobject.h mymalloc.h myproto.h \
- object.h objimpl.h pydebug.h pyerrors.h pyfpe.h pystate.h python.h \
- pythonrun.h rangeobject.h sliceobject.h stringobject.h sysmodule.h \
- traceback.h tupleobject.h
-
cmathmodule.obj: abstract.h ceval.h classobject.h cobject.h complexobject.h \
pyconfig.h dictobject.h fileobject.h floatobject.h funcobject.h \
import.h intobject.h intrcheck.h listobject.h longobject.h \
diff --git a/PCbuild/pyproject.vsprops b/PCbuild/pyproject.vsprops
index 703c2f4..59163e6 100644
--- a/PCbuild/pyproject.vsprops
+++ b/PCbuild/pyproject.vsprops
@@ -49,30 +49,6 @@
Value="..\.."
/>
<UserMacro
- Name="bsddbDir"
- Value="$(bsddb44Dir)"
- />
- <UserMacro
- Name="bsddbDepLibs"
- Value="$(bsddb44DepLibs)"
- />
- <UserMacro
- Name="bsddb44Dir"
- Value="$(externalsDir)\db-4.4.20\build_win32"
- />
- <UserMacro
- Name="bsddb44DepLibs"
- Value=""
- />
- <UserMacro
- Name="bsddb45Dir"
- Value="$(externalsDir)\db-4.5.20.x\build_windows"
- />
- <UserMacro
- Name="bsddb45DepLibs"
- Value="ws2_32.lib"
- />
- <UserMacro
Name="sqlite3Dir"
Value="$(externalsDir)\sqlite-3.5.9"
/>
diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt
index 8e4ce89..918a1d3 100644
--- a/PCbuild/readme.txt
+++ b/PCbuild/readme.txt
@@ -103,13 +103,10 @@ winsound
play sounds (typically .wav files) under Windows
Python-controlled subprojects that wrap external projects:
-_bsddb
- Wraps Berkeley DB 4.7.25, which is currently built by _bsddb.vcproj.
- project (see below).
_sqlite3
Wraps SQLite 3.5.9, which is currently built by sqlite3.vcproj (see below).
_tkinter
- Wraps the Tk windowing system. Unlike _bsddb and _sqlite3, there's no
+ Wraps the Tk windowing system. Unlike _sqlite3, there's no
corresponding tcltk.vcproj-type project that builds Tcl/Tk from vcproj's
within our pcbuild.sln, which means this module expects to find a
pre-built Tcl/Tk in either ..\..\tcltk for 32-bit or ..\..\tcltk64 for
@@ -213,8 +210,8 @@ So for a release build, you'd call it as:
This will be cleaned up in the future; ideally Tcl/Tk will be brought into our
pcbuild.sln as custom .vcproj files, just as we've recently done with the
-_bsddb.vcproj and sqlite3.vcproj files, which will remove the need for
-Tcl/Tk to be built separately via a batch file.
+sqlite3.vcproj file, which will remove the need for Tcl/Tk to be built
+separately via a batch file.
XXX trent.nelson 02-Apr-08:
Having the external subprojects in ..\.. relative to this directory is a
diff --git a/PCbuild/vs9to8.py b/PCbuild/vs9to8.py
index 0a341fb..bab3b6e 100644
--- a/PCbuild/vs9to8.py
+++ b/PCbuild/vs9to8.py
@@ -25,8 +25,6 @@ def vs9to8(src, dest):
# Bah. VS8.0 does not expand macros in file names.
# Replace them here.
lines = lines.replace('$(sqlite3Dir)', '..\\..\\..\\sqlite-3.5.9')
- lines = lines.replace('$(bsddbDir)\\..\\..', '..\\..\\..\\db-4.4.20\\build_win32\\..')
- lines = lines.replace('$(bsddbDir)', '..\\..\\..\\db-4.4.20\\build_win32')
with open(destname, 'wb') as fout:
lines = lines.replace("\n", "\r\n").encode()