Skip to content

Commit

Permalink
windows and py27 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrose committed Aug 23, 2017
1 parent 6341db1 commit 83844da
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
lib/newstag.egg-info
build/
dist/
.eggs/
2 changes: 1 addition & 1 deletion lib/newstag/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import utils
from . import crimetype

__version__ = '0.0.2'
__version__ = '0.0.5'
2 changes: 1 addition & 1 deletion lib/newstag/crimetype/benchmark.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import division
from __future__ import division, print_function

import numpy as np
import pandas as pd
Expand Down
2 changes: 1 addition & 1 deletion lib/newstag/crimetype/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""

MODEL_LOCATION = os.path.join(os.path.split(__file__)[0],
'models/binary_stemmed_logistic/')
os.path.join('models', 'binary_stemmed_logistic'))

TAGS = ['OEMC', 'CPD', 'SAO', 'CCCC', 'CCJ', 'CCSP',
'CPUB', 'IDOC', 'DOMV', 'SEXA', 'POLB', 'POLM',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def run(self):
nltk.download(nltk_package)

setup(name='newstag',
version='0.0.2',
version='0.0.5',
description='automatically tag articles with justice-related categories',
author='Kevin Rose',
url='https://github.com/chicago-justice-project/article-tagging',
Expand Down

0 comments on commit 83844da

Please sign in to comment.