-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (32 loc) · 920 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
long_description = open("README.md").read()
except IOError:
long_description = ""
about = {}
with open(os.path.join(here, "tokenizer_hub", "__version__.py")) as f:
exec(f.read(), about)
setup(
name="tokenizer-hub",
version=about["__version__"],
description="Yoctol Natural Language Tokenizer",
url="https://github.com/Yoctol/tokenizer-hub",
license="MIT",
author="Solumilken",
packages=find_packages(),
python_requires='>=3.5',
install_requires=[
'jieba==0.39',
'nltk==3.3.0',
'purewords==0.1.1',
],
long_description=long_description,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
)