-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
57 lines (53 loc) · 1.72 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
import sys
from parsable import parsable
from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError, OSError) as e:
sys.stderr.write('Failed to convert README.md to rst:\n {}\n'.format(e))
sys.stderr.flush()
long_description = open('README.md').read()
for line in open('treecat/__init__.py'):
if line.startswith('__version__ = '):
version = line.strip().split()[-1][1:-1]
setup(
name='pytreecat',
version=version,
description=(
'A Bayesian latent tree model of high-dimensional heterogeneous data'),
long_description=long_description,
author='Fritz Obermeyer',
author_email='[email protected]',
url='https://github.com/posterior/treecat',
packages=['treecat'],
package_data={'treecat': 'testdata/*.csv'},
entry_points=parsable.find_entry_points('treecat'),
install_requires=[
'jsonpickle',
'matplotlib',
'numpy',
'pandas',
'parsable',
'scipy',
'six',
],
tests_require=[
'flake8',
'goftests',
'matplotlib',
'pytest',
],
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering :: Information Analysis',
])