-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.py
55 lines (40 loc) · 1.58 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
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
version = open("simpsom/_version.py").readlines()[-1].split()[-1].strip("\"'")
try:
import pypandoc
long_description = pypandoc.convert_file('long_desc.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup(
name='simpsom',
version=version,
description='Simple Self-Organizing Maps in Python',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/fcomitani/simpsom',
download_url = 'https://github.com/fcomitani/simpsom/archive/'+version+'.tar.gz',
author='Federico Comitani',
author_email='federico.comitani@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3'
],
keywords='kohonen self-organizing maps, self-organizing maps, clustering ,dimension-reduction, som',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['numpy>=1.23.4',
'scikit-learn>=1.1.2',
'matplotlib>=3.3.3',
'loguru>=0.5.3',
'pylettes>=0.2.0'],
extras_require={ 'gpu': ['cupy==8.60',
'cuml==0.18']},
zip_safe=False,
)