-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
38 lines (32 loc) · 1.32 KB
/
setup.py
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
#!/usr/bin/env python2
from __future__ import division, print_function, absolute_import
def configuration(parent_pacakge='', top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_pacakge, top_path)
config.set_options(assume_default_configuration=True,
quiet=True)
config.add_subpackage('starvine')
config.add_data_files(('starvine', '*.txt'))
return config
def setup_package():
from setuptools import setup
from numpy.distutils.core import setup
metadata = dict(name='StarVine',
version='0.0.1',
description='C- and D-Vine copula library',
author='William Gurecky',
test_suite="tests",
platforms=["Linux", "Mac OS-X"],
build_requires=['numpy>=1.8.0', 'setuptools'],
install_requires=['numpy>=1.8.0', 'scipy>=0.13',
'pandas>=0.13.0', 'h5py>=2.2.0',
'seaborn>=0.7.0', 'networkx>=2.0.0',
'emcee>=2.0.0', 'statsmodels', 'numba'],
package_data={'': ['*.txt']},
license='BSD-3clause',
author_email='william.gurecky@utexas.edu',
)
metadata['configuration'] = configuration
setup(**metadata)
if __name__ == "__main__":
setup_package()