3 # MJ Pomraning <mjp@pilcrow.madison.wi.us>
5 # python-cdb 0.32 setup.py
8 SRCFILES
= map(lambda f
: SRCDIR
+ '/' + f
+ '.c',
9 ["cdbmodule","cdb","cdb_make","cdb_hash",
10 "uint32_pack","uint32_unpack"])
12 from distutils
.core
import setup
, Extension
14 setup (# Distribution meta-data
17 description
= "Interface to constant database files",
18 author
= "MJ Pomraning",
19 author_email
= "mjp@pilcrow.madison.wi.us",
22 """The python-cdb extension module is an adaptation of D. J. Bernstein's
23 constant database package (see http://cr.yp.to/cdb.html).
25 cdb files are mappings of keys to values, designed for wickedly
26 fast lookups and atomic updates. This module mimics the normal
27 cdb utilities, cdb(get|dump|make), via convenient, high-level Python
29 ext_modules
= [ Extension(
32 include_dirs
=[ SRCDIR
+ '/' ]
35 url
= "http://pilcrow.madison.wi.us/",