-
Notifications
You must be signed in to change notification settings - Fork 248
/
setup.py
executable file
·90 lines (76 loc) · 3.88 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
81
82
83
84
85
86
87
88
89
90
"""!
@authors Andrei Novikov ([email protected])
@date 2014-2020
@copyright BSD-3-Clause
"""
import os
import pyclustering
from setuptools import setup
from setuptools import find_packages
from setuptools.command.test import test as command
def load_readme():
readme_file = 'PKG-INFO.rst'
if os.path.isfile(readme_file):
with open(readme_file) as file_descr:
return file_descr.read()
return "pyclustering is a python data mining library (cluster-analysis, graph coloring, oscillatory networks)"
class setup_tests_runner(command):
def run_tests(self):
from pyclustering.tests.tests_runner import tests_runner
tests_runner.run()
setup(
name='pyclustering',
packages=find_packages(),
version=pyclustering.__version__,
description='pyclustring is a python data mining library',
long_description=load_readme(),
url='https://github.com/annoviko/pyclustering',
project_urls={
'Homepage': 'https://pyclustering.github.io/',
'Repository': 'https://github.com/annoviko/pyclustering',
'Documentation': 'https://pyclustering.github.io/docs/0.10.1/html/index.html',
'Bug Tracker': 'https://github.com/annoviko/pyclustering/issues'
},
license='BSD-3-Clause',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: Microsoft',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Operating System :: iOS',
'Programming Language :: C',
'Programming Language :: C++',
'Programming Language :: Python :: 3',
'Topic :: Education',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries'
],
keywords='pyclustering data-mining clustering cluster-analysis machine-learning neural-network oscillatory-network',
author='Andrei Novikov',
author_email='[email protected]',
install_requires=['scipy>=1.1.0', 'matplotlib>=3.0.0', 'numpy>=1.15.2', 'Pillow>=5.2.0'],
python_requires='>=3.6',
package_data={
'pyclustering.samples': ['samples/famous/*.*',
'samples/fcps/*.*',
'samples/simple/*.*',
'graphs/*.*',
'images/*.*',
'images/digits/*.*'],
'pyclustering.core': ['64-bit/linux/libpyclustering.so', '32-bit/linux/libpyclustering.so',
'64-bit/win/pyclustering.dll', '32-bit/win/pyclustering.dll',
'64-bit/macos/libpyclustering.so'],
},
data_files=[('', ['LICENSE', 'CHANGES', 'README.rst', 'PKG-INFO.rst'])],
cmdclass={'test': setup_tests_runner}
)