From a692d62f7b9fd5b4d5b0fe99e08ef22152b29e5f Mon Sep 17 00:00:00 2001 From: Tyler Barrus Date: Sun, 20 May 2018 10:37:25 -0400 Subject: [PATCH] include resources in package (#7) --- setup.py | 3 ++- spellchecker/info.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 51a02a6..dc730b0 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,8 @@ def read_file(filepath): bugtrack_url = __bugtrack_url__, install_requires = [], packages=find_packages(exclude=['tests']), - package_data={'spellchecker': ['resources/*.txt']}, + package_data={'spellchecker': ['resources/*']}, + include_package_data = True, long_description = read_file('README.rst'), classifiers = [ 'Development Status :: 3 - Alpha', diff --git a/spellchecker/info.py b/spellchecker/info.py index edabf77..6cf9579 100644 --- a/spellchecker/info.py +++ b/spellchecker/info.py @@ -5,7 +5,7 @@ __maintainer__ = 'Tyler Barrus' __email__ = 'barrust@gmail.com' __license__ = 'MIT' -__version__ = '0.1.1' +__version__ = '0.1.2' __credits__ = ['Peter Norvig'] __url__ = 'https://github.com/barrust/pyspellchecker' __bugtrack_url__ = '{0}/issues'.format(__url__)