diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-02-03 08:01:46 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-02-03 08:01:46 (GMT) |
commit | 773f347e7c9572b0f8a8797eff2f423397885c8b (patch) | |
tree | 3237f609bc587ae98ef317753ec699f40d238a10 | |
parent | eeed5b7c220c5ef9ec1666d062cb8c4ab0203415 (diff) | |
download | cpython-773f347e7c9572b0f8a8797eff2f423397885c8b.zip cpython-773f347e7c9572b0f8a8797eff2f423397885c8b.tar.gz cpython-773f347e7c9572b0f8a8797eff2f423397885c8b.tar.bz2 |
remove a repeated occurance of a hardcoded berkeleydb library version number
-rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -727,10 +727,10 @@ class PyBuildExt(build_ext): for dn in inc_dirs: std_variants.append(os.path.join(dn, 'db3')) std_variants.append(os.path.join(dn, 'db4')) - for x in (0,1,2,3,4,5,6): + for x in range(max_db_ver[1]+1): std_variants.append(os.path.join(dn, "db4%d"%x)) std_variants.append(os.path.join(dn, "db4.%d"%x)) - for x in (2,3): + for x in (3,): std_variants.append(os.path.join(dn, "db3%d"%x)) std_variants.append(os.path.join(dn, "db3.%d"%x)) |