From 5cbc0d0f94b0ddd0c580d0447180e8688cb0e165 Mon Sep 17 00:00:00 2001 From: Rob Speer Date: Tue, 12 May 2015 12:30:01 -0400 Subject: [PATCH] update dependencies Former-commit-id: f13cca4d813c7350eb0fe21402ad894939aac904 --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 43d3af2..02ec1d9 100755 --- a/setup.py +++ b/setup.py @@ -20,6 +20,9 @@ classifiers = [ current_dir = os.path.dirname(__file__) README_contents = open(os.path.join(current_dir, 'README.txt')).read() doclines = README_contents.split("\n") +dependencies = ['ftfy >= 4', 'msgpack-python', 'langcodes'] +if sys.version_info < (3, 4): + dependencies.append('pathlib') setup( @@ -35,5 +38,5 @@ setup( long_description = "\n".join(doclines[2:]), packages=['wordfreq'], include_package_data=True, - install_requires=['ftfy >= 4', 'msgpack-python'], + install_requires=dependencies, )