Projects/pyblm
Projects
/
pyblm
Archived
5
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
pyblm/setup.py

51 lines
1.7 KiB
Python
Raw Normal View History

2007-10-10 14:19:21 +02:00
#!/usr/bin/env python
#from distutils.core import setup
short_description=\
"""Library routines for performing L-shaped matrix decompositon.
"""
long_description=\
"""Library for performing L-shaped low rank models. An L shaped decomposition
is a a situation where a matrices X (n, p), Y (n, o) and Z (k, p) are
aproximated by low rank bilinear models (X ~ TP', Y~ TQ', Z ~ OW') in a way
that common patterns between the X-Y, and X-Z are identified.
"""
classifiers = """\
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: GPL License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Scientific/Engineering
Topic :: Software Development :: Libraries :: Python Modules
"""
import __init__
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('lplslib', parent_package, top_path)
config.add_data_dir('tests')
#config.add_data_files(['lplslib',('COPYING','README')])
#config.add_subpackage('lplslib')
return config
if __name__ == "__main__":
from numpy.distutils.core import setup
config = configuration(top_path='').todict()
config['author'] = 'Arnar Flatberg'
config['author_email'] = 'arnar.flatberg at gmail.com'
config['short_description'] = short_description
config['long_description'] = long_description
config['url'] = 'http://dev.pvv.org'
config['version'] = __init__.__version__
config['license'] = 'GPL v2'
config['platforms'] = ['Linux']
config['classifiers'] = filter(None, classifiers.split('\n'))
setup(**config)