Skip to content

Commit

Permalink
Add enum34 on Python 2.7 installations
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeray Diaz Diaz committed Aug 25, 2018
1 parent ef77ad2 commit 30662e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.5.2

- Fix Python 2.7 support

## 0.5.1

- Added multilanguage support
Expand Down
2 changes: 1 addition & 1 deletion lunr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

logging.basicConfig(format="%(levelname)-7s - %(message)s")

__VERSION__ = '0.5.1'
__VERSION__ = '0.5.2'
__TARGET_JS_VERSION__ = '2.3.2'
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def find_version():
'six>=1.11.0',
],
extras_require={
'languages': ['nltk>=3.2.5']
'languages': ['nltk>=3.2.5'],
":python_version<'3.3'": ['enum34'],
},
keywords='lunr full text search',
classifiers=[
Expand Down

0 comments on commit 30662e8

Please sign in to comment.