public
Description: C++ Ternary Search Tree implementation with Python bindings
Homepage: http://nicolas.lehuen.com/
Clone URL: git://github.com/nlehuen/pytst.git
pytst / python / setup.py
100644 50 lines (47 sloc) 1.948 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 # $Id$
 # Copyright (C) 2004-2005 Nicolas Lehuen <nicolas@lehuen.com>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
 # version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 # Lesser General Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from distutils.core import setup, Extension
import sys
 
extra_compile_args = []
 
setup(
    name = "pytst",
    version = "1.17",
    author = "Nicolas Lehuen",
    author_email = "nicolas@lehuen.com",
    url = "http://nicolas.lehuen.com/index.php/category/Pytst",
    description = "An implementation of a Ternary Search Tree (TST) in C++ with Python bindings",
    py_modules = ["tst"],
    ext_modules = [
        Extension(
            "_tst",
            ["tst_wrap.cxx"],
            include_dirs=['../include'],
            extra_compile_args = extra_compile_args,
            define_macros=[('SCANNER', None),],
        )
    ],
    download_url = "http://nicolas.lehuen.com/download/pytst/",
    classifiers = [
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
        'Programming Language :: C++',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Scientific/Engineering :: Information Analysis',
    ]
)