forked from bayespy/bayespy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (61 loc) · 2.56 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python
################################################################################
# Copyright (C) 2011-2015 Jaakko Luttinen
#
# This file is licensed under the MIT License.
################################################################################
NAME = 'bayespy'
DESCRIPTION = 'Variational Bayesian inference tools for Python'
AUTHOR = 'Jaakko Luttinen'
AUTHOR_EMAIL = '[email protected]'
URL = 'http://bayespy.org'
LICENSE = 'MIT'
VERSION = '0.3.5'
if __name__ == "__main__":
import os
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
from setuptools import setup, find_packages
# Setup for BayesPy
setup(
install_requires = ['numpy>=1.8.0', # 1.8 implements broadcasting in numpy.linalg
'scipy>=0.13.0', # <0.13 have a bug in special.multigammaln
'matplotlib>=1.2.0',
'h5py'],
packages = find_packages(),
package_data = {NAME: ["tests/baseline_images/test_plot/*.png"]},
name = NAME,
version = VERSION,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
description = DESCRIPTION,
license = LICENSE,
url = URL,
long_description = read('README.rst'),
keywords =
[
'variational Bayes',
'probabilistic programming',
'Bayesian networks',
'graphical models',
'variational message passing'
],
classifiers =
[
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis'
]
)