Skip to content

Commit

Permalink
updated supported Python versions
Browse files Browse the repository at this point in the history
updated README and CHANGES
increased version number to 1.5
  • Loading branch information
internaut committed Jan 24, 2018
1 parent 32bda96 commit 7a1a155
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -55,3 +55,6 @@ docs/_build/

# PyBuilder
target/

# PyCharm
.idea/
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,10 +1,10 @@
language: python

python:
- 2.6
- 2.7
- 3.4
- 3.5
- 3.6

install:
- pip install -r requirements.txt
Expand Down
7 changes: 7 additions & 0 deletions CHANGES.md
@@ -1,5 +1,12 @@
# Changes

## 1.5 (2017-01-24)

* allow arbitrary non-string data as input
* dropped support of EOL Python versions (2.6, 3.2 and 3.3)
* fixed a possible division-by-zero exception
* fixed a formatting error in an exception message

## 1.4.1 (2016-07-18)
* Clarified that this implementation is of the [optimal string alignment distance algorithm](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance#Optimal_string_alignment_distance) (see [this issue](https://github.com/gfairchild/pyxDamerauLevenshtein/issues/6) for more information).
* Renamed `damerau_levenshtein_distance_withNPArray` to `damerau_levenshtein_distance_ndarray` and `normalized_damerau_levenshtein_distance_withNPArray` to `normalized_damerau_levenshtein_distance_ndarray`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -13,7 +13,7 @@ pyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) edit distance algo
This implementation is based on [Michael Homer's pure Python implementation](https://web.archive.org/web/20150909134357/http://mwh.geek.nz:80/2009/04/26/python-damerau-levenshtein-distance/), which implements the [optimal string alignment distance algorithm](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance#Optimal_string_alignment_distance). It runs in `O(N*M)` time using `O(M)` space. It supports unicode characters.

## REQUIREMENTS
This code requires Python 2.6, 2.7 or Python 3.4+, [NumPy](http://www.numpy.org/), and a C compiler such as GCC. Although the code was written in Cython, Cython is not required for installation.
This code requires 2.7 or Python 3.4+, [NumPy](http://www.numpy.org/), and a C compiler such as GCC. Although the code was written in Cython, Cython is not required for installation.

## INSTALL
pyxDamerauLevenshtein is available on PyPI at https://pypi.python.org/pypi/pyxDamerauLevenshtein.
Expand Down
6 changes: 2 additions & 4 deletions setup.py
Expand Up @@ -41,7 +41,7 @@ def finalize_options(self):

metadata = dict(
name='pyxDamerauLevenshtein',
version='1.4.1',
version='1.5',
description='pyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) edit '
'distance algorithm for Python in Cython for high performance.',
long_description='pyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) '
Expand Down Expand Up @@ -77,13 +77,11 @@ def finalize_options(self):
'Operating System :: OS Independent',
'Programming Language :: Cython',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing :: Linguistic',
Expand Down

0 comments on commit 7a1a155

Please sign in to comment.