|
1 | 1 | #!/usr/bin/env python |
2 | | -from distutils.core import setup |
| 2 | +from setuptools import setup |
| 3 | + |
| 4 | +# read the contents of your README file |
| 5 | +from os import path |
| 6 | +this_directory = path.abspath(path.dirname(__file__)) |
| 7 | +with open(path.join(this_directory, 'Readme.md'), encoding='utf-8') as f: |
| 8 | + long_description = f.read() |
3 | 9 |
|
4 | 10 | description = 'Minimalistic implementation of batch Self Organizing Maps (SOM) for parallel execution on CPU or GPU.' |
5 | 11 | keywords = ['machine learning', 'neural networks', 'clustering', 'dimentionality reduction'] |
6 | 12 |
|
7 | 13 | setup(name='XPySom', |
8 | | - version='1.0.0', |
| 14 | + version='1.0.5', |
9 | 15 | description=description, |
| 16 | + long_description=long_description, |
| 17 | + long_description_content_type="text/markdown", |
10 | 18 | author='Riccardo Mancini', |
11 | 19 | |
12 | 20 | package_data={'': ['Readme.md']}, |
13 | 21 | include_package_data=True, |
14 | 22 | license="GNU General Public License v3.0", |
15 | 23 | packages=['xpysom'], |
16 | 24 | install_requires=['numpy'], |
17 | | - extra_requires={'gpu': ['cupy']}, |
| 25 | + extras_require={ |
| 26 | + 'cuda90': ['cupy-cuda90'], |
| 27 | + 'cuda92': ['cupy-cuda92'], |
| 28 | + 'cuda100': ['cupy-cuda100'], |
| 29 | + 'cuda101': ['cupy-cuda101'], |
| 30 | + 'cuda102': ['cupy-cuda102'], |
| 31 | + }, |
18 | 32 | url='https://github.com/Manciukic/xpysom', |
19 | | - download_url='https://github.com/Manciukic/xpysom/archive/v1.0.0.tar.gz', |
| 33 | + download_url='https://github.com/Manciukic/xpysom/archive/v1.0.5.tar.gz', |
20 | 34 | keywords=keywords, |
21 | 35 | classifiers=[ |
22 | | - 'Development Status :: 3 - Alpha', |
| 36 | + 'Development Status :: 4 - Beta', |
23 | 37 | 'Intended Audience :: Science/Research', |
24 | 38 | 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
25 | 39 | 'Programming Language :: Python :: 3', |
|
28 | 42 | 'Programming Language :: Python :: 3.6', |
29 | 43 | 'Programming Language :: Python :: 3.7', |
30 | 44 | 'Programming Language :: Python :: 3.8', |
31 | | - ], |
| 45 | + ], |
| 46 | + zip_safe=False, |
32 | 47 | ) |
0 commit comments