3
from os.path import join
5
def configuration(parent_package = '', top_path = None):
6
from numpy.distutils.misc_util import Configuration, get_numpy_include_dirs
7
config = Configuration('cluster', parent_package, top_path)
9
config.add_data_dir('tests')
11
config.add_extension('_vq',
12
sources=[join('src', 'vq_module.c'), join('src', 'vq.c')],
13
include_dirs = [get_numpy_include_dirs()])
17
if __name__ == '__main__':
18
from numpy.distutils.core import setup
19
setup(maintainer = "SciPy Developers",
20
author = "Eric Jones",
21
maintainer_email = "scipy-dev@scipy.org",
22
description = "Clustering Algorithms (Information Theory)",
23
url = "http://www.scipy.org",
24
license = "SciPy License (BSD Style)",
25
**configuration(top_path='').todict()