-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
80 lines (71 loc) · 3.23 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
71
72
73
74
75
76
77
78
79
80
"""
clustering-benchmarks Package
"""
# ############################################################################ #
# #
# Copyleft (C) 2015-2024, Marek Gagolewski <https://www.gagolewski.com> #
# #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU Affero General Public License #
# Version 3, 19 November 2007, published by the Free Software Foundation. #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Affero General Public License Version 3 for more details. #
# You should have received a copy of the License along with this program. #
# If this is not the case, refer to <https://www.gnu.org/licenses/>. #
# #
# ############################################################################ #
import setuptools
import re
with open("README.md", "r") as fh:
long_description = fh.read()
with open("clustbench/__init__.py", "r") as fh:
__version__ = re.search("(?m)^\\s*__version__\\s*=\\s*[\"']([0-9.]+)[\"']", fh.read())
if __version__ is None:
raise ValueError("the package version could not be read")
__version__ = __version__.group(1)
setuptools.setup(
name="clustering-benchmarks",
packages=["clustbench"],
# packages=setuptools.find_packages(),
version=__version__,
description="A Framework for Benchmarking Clustering Algorithms",
long_description=long_description,
long_description_content_type="text/markdown",
author="Marek Gagolewski",
author_email="[email protected]",
maintainer="Marek Gagolewski",
license="GNU Affero General Public License v3",
install_requires=[
"natsort",
"numpy",
"scipy",
"matplotlib",
"pandas",
"cython",
"genieclust",
],
download_url="https://github.com/gagolews/clustering-benchmarks",
url="https://clustering-benchmarks.gagolewski.com/",
project_urls={
"Bug Tracker": "https://github.com/gagolews/clustering-benchmarks/issues",
"Documentation": "https://clustering-benchmarks.gagolewski.com/",
"Source Code": "https://github.com/gagolews/clustering-benchmarks",
},
include_package_data=True,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Development Status :: 5 - Production/Stable",
"Topic :: Scientific/Engineering",
],
)