From 7b4ebd18059fe79322c64897d36f9b6258868c4f Mon Sep 17 00:00:00 2001 From: Rob Speer Date: Thu, 2 Jul 2015 11:28:45 -0400 Subject: [PATCH] declare that tests require mecab-python3 --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index 5567e4e..fa72682 100755 --- a/setup.py +++ b/setup.py @@ -45,4 +45,10 @@ setup( packages=['wordfreq'], include_package_data=True, install_requires=dependencies, + + # mecab-python3 is required for looking up Japanese word frequencies. In + # turn, it depends on libmecab-dev being installed on the system. It's not + # listed under 'install_requires' because wordfreq should be usable in + # other languages without it. + tests_require=['mecab-python3'], )