-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
55 lines (46 loc) · 2.01 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
# -*- coding: utf-8 -*-
# License: GPL 3.0
import setuptools
import pathlib
import versioneer
NAME = "bhc"
AUTHOR = "Guilherme Caponetto"
URL = "https://github.com/caponetto/bayesian-hierarchical-clustering"
LICENSE = "GPL-3.0"
DESCRIPTION = "Python implementation of Bayesian hierarchical clustering (BHC) and Bayesian rose trees (BRT) algorithms."
LONG_DESCRIPTION = """
This is a python implementation of the following algorithms.
Bayesian Hierarchical Clustering algorithm proposed by Heller & Ghahramani (2005).
> HELLER, Katherine A.; GHAHRAMANI, Zoubin. Bayesian hierarchical clustering. In: **Proceedings of the 22nd international conference on Machine learning**. 2005. p. 297-304.
Bayesian Rose Trees proposed by Blundell et al (2012).
> BLUNDELL, Charles; TEH, Yee Whye; HELLER, Katherine A. Bayesian rose trees. arXiv preprint arXiv:1203.3468, 2012.
"""
REQUIREMENTS = [l.strip() for l in pathlib.Path(
"requirements.txt").read_text("utf-8").splitlines()]
CLASSIFIERS = [
"Environment :: Console",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
]
setuptools.setup(name=NAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url=URL,
author=AUTHOR,
author_email="N/A",
include_package_data=True,
license=LICENSE,
install_requires=REQUIREMENTS,
packages=setuptools.find_packages(),
platforms="any",
classifiers=CLASSIFIERS,
python_requires='>=3.6')