| 1 |
from setuptools import setup |
| 2 |
|
| 3 |
readme_contents = open("README.rst").read() |
| 4 |
|
| 5 |
|
| 6 |
parastart = readme_contents.find('=\n') + 3 |
| 7 |
|
| 8 |
|
| 9 |
sentence_end = readme_contents.find('.', parastart) |
| 10 |
|
| 11 |
setup( |
| 12 |
name='cluster', |
| 13 |
version=open('cluster/version.txt').read().strip(), |
| 14 |
author='Michel Albert', |
| 15 |
author_email='[email protected]', |
| 16 |
url='https://github.com/exhuma/python-cluster', |
| 17 |
packages=['cluster', 'cluster.method'], |
| 18 |
license='LGPL', |
| 19 |
description=readme_contents[parastart:sentence_end], |
| 20 |
long_description=readme_contents, |
| 21 |
include_package_data=True, |
| 22 |
classifiers=[ |
| 23 |
'Development Status :: 5 - Production/Stable', |
| 24 |
'Intended Audience :: Developers', |
| 25 |
'Intended Audience :: Education', |
| 26 |
'Intended Audience :: Other Audience', |
| 27 |
'Intended Audience :: Science/Research', |
| 28 |
'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)', |
| 29 |
'Operating System :: OS Independent', |
| 30 |
'Programming Language :: Python', |
| 31 |
'Programming Language :: Python :: 2', |
| 32 |
'Programming Language :: Python :: 3', |
| 33 |
'Topic :: Scientific/Engineering :: Information Analysis', |
| 34 |
] |
| 35 |
) |