4
from scipy_distutils.core import Extension
5
from scipy_distutils.misc_util import get_path,default_config_dict,dot_join
7
def configuration(parent_package='',parent_path=None):
9
local_path = get_path(__name__,parent_path)
10
config = default_config_dict(package,parent_package)
12
# This should really be fixed to use inline...
13
sources = ['src/vq_wrap.cpp']
14
sources = [os.path.join(local_path,x) for x in sources]
16
ext = Extension(dot_join(parent_package,'cluster._vq'),sources)
17
config['ext_modules'].append(ext)
21
if __name__ == '__main__':
22
from scipy_distutils.core import setup
23
setup(maintainer = "SciPy Developers",
24
author = "eric jones",
25
maintainer_email = "scipy-dev@scipy.org",
26
description = "Clustering Algorithms (Information Theory)",
27
url = "http://www.scipy.org",
28
license = "SciPy License (BSD Style)",