Skip to content

Commit 20049e1

Browse files
committed
Merge branch 'release-1.2.0' into develop
2 parents b8e9405 + 6c3cc03 commit 20049e1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README renamed to README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Note, that when you retrieve a set of clusters, it immediately starts the
3737
clustering process, which is quite complex. If you intend to create clusters
3838
from a large dataset, consider doing that in a separate thread.
3939

40-
For K-Means clustering it would look like this:
40+
For K-Means clustering it would look like this::
4141

42-
>>> from cluster import KMeansClustering
43-
>>> cl = KMeansClustering([(1,1), (2,1), (5,3), ...])
44-
>>> clusters = cl.getclusters(2)
42+
>>> from cluster import KMeansClustering
43+
>>> cl = KMeansClustering([(1,1), (2,1), (5,3), ...])
44+
>>> clusters = cl.getclusters(2)
4545

4646
The parameter passed to getclusters is the count of clusters generated.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from distutils.core import setup
22

3-
readme_contents = open("README").read()
3+
readme_contents = open("README.rst").read()
44

55
# index where the first paragraph starts
66
parastart = readme_contents.find('=\n') + 3
@@ -13,7 +13,7 @@
1313
version='1.2.0',
1414
author='Michel Albert',
1515
author_email='[email protected]',
16-
url='http://python-cluster.sourceforge.net/',
16+
url='https://github.com/exhuma/python-cluster',
1717
packages=['cluster', 'cluster.method'],
1818
license='LGPL',
1919
description=readme_contents[parastart:sentence_end],

0 commit comments

Comments
 (0)