mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-24 09:51:38 +00:00
update dependencies
This commit is contained in:
parent
bb18f741e2
commit
f13cca4d81
5
setup.py
5
setup.py
@ -20,6 +20,9 @@ classifiers = [
|
|||||||
current_dir = os.path.dirname(__file__)
|
current_dir = os.path.dirname(__file__)
|
||||||
README_contents = open(os.path.join(current_dir, 'README.txt')).read()
|
README_contents = open(os.path.join(current_dir, 'README.txt')).read()
|
||||||
doclines = README_contents.split("\n")
|
doclines = README_contents.split("\n")
|
||||||
|
dependencies = ['ftfy >= 4', 'msgpack-python', 'langcodes']
|
||||||
|
if sys.version_info < (3, 4):
|
||||||
|
dependencies.append('pathlib')
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
@ -35,5 +38,5 @@ setup(
|
|||||||
long_description = "\n".join(doclines[2:]),
|
long_description = "\n".join(doclines[2:]),
|
||||||
packages=['wordfreq'],
|
packages=['wordfreq'],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=['ftfy >= 4', 'msgpack-python'],
|
install_requires=dependencies,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user