Commit | Line | Data |
---|---|---|
dc7ddb87 MW |
1 | #! /usr/bin/env python |
2 | ||
3 | # MJ Pomraning <mjp@pilcrow.madison.wi.us> | |
4 | # 26 Jan 2001 | |
5 | # python-cdb 0.32 setup.py | |
6 | ||
7 | SRCDIR = "src" | |
8 | SRCFILES = map(lambda f: SRCDIR + '/' + f + '.c', | |
9 | ["cdbmodule","cdb","cdb_make","cdb_hash", | |
10 | "uint32_pack","uint32_unpack"]) | |
11 | ||
12 | from distutils.core import setup, Extension | |
13 | ||
14 | setup (# Distribution meta-data | |
15 | name = "python-cdb", | |
16 | version = "0.32", | |
17 | description = "Interface to constant database files", | |
18 | author = "MJ Pomraning", | |
19 | author_email = "mjp@pilcrow.madison.wi.us", | |
20 | license = "GPL", | |
21 | long_description = \ | |
17a1b1a2 | 22 | """The python-cdb extension module is an adaptation of D. J. Bernstein's |
dc7ddb87 MW |
23 | constant database package (see http://cr.yp.to/cdb.html). |
24 | ||
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 | |
17a1b1a2 | 28 | objects.""", |
dc7ddb87 MW |
29 | ext_modules = [ Extension( |
30 | "cdbmodule", | |
31 | SRCFILES, | |
32 | include_dirs=[ SRCDIR + '/' ] | |
33 | ) | |
34 | ], | |
35 | url = "http://pilcrow.madison.wi.us/", | |
36 | ) | |
37 |