forked from jjaranda13/HD-python-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (30 loc) · 1.15 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
from distutils.core import setup
readme_contents = open("README.rst").read()
# index where the first paragraph starts
parastart = readme_contents.find('=\n') + 3
# first sentence of first paragraph
sentence_end = readme_contents.find('.', parastart)
setup(
name='cluster',
version='1.2.2',
author='Michel Albert',
author_email='[email protected]',
url='https://github.com/exhuma/python-cluster',
packages=['cluster', 'cluster.method'],
license='LGPL',
description=readme_contents[parastart:sentence_end],
long_description=readme_contents,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Other Audience',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Information Analysis',
]
)