46 lines
1.4 KiB
Python
46 lines
1.4 KiB
Python
# -*- coding:utf-8 -*-
|
|
# Author: hankcs
|
|
# Date: 2019-12-28 19:26
|
|
from os.path import abspath, join, dirname
|
|
from setuptools import find_packages, setup
|
|
|
|
this_dir = abspath(dirname(__file__))
|
|
with open(join(this_dir, 'README.md'), encoding='utf-8') as file:
|
|
long_description = file.read()
|
|
|
|
setup(
|
|
name='hanlp_common',
|
|
version='0.0.22',
|
|
description='HanLP: Han Language Processing',
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url='https://github.com/hankcs/HanLP',
|
|
author='hankcs',
|
|
author_email='hankcshe@gmail.com',
|
|
license='Apache License 2.0',
|
|
classifiers=[
|
|
'Intended Audience :: Science/Research',
|
|
'Intended Audience :: Developers',
|
|
"Development Status :: 3 - Alpha",
|
|
'Operating System :: OS Independent',
|
|
"License :: OSI Approved :: Apache Software License",
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
"Topic :: Text Processing :: Linguistic"
|
|
],
|
|
keywords='corpus,machine-learning,NLU,NLP',
|
|
packages=find_packages(exclude=['docs', 'tests*']),
|
|
include_package_data=True,
|
|
install_requires=[
|
|
'phrasetree>=0.0.9',
|
|
],
|
|
extras_require={
|
|
# These AMR dependencies might not be necessary for most people.
|
|
'full': [
|
|
'networkx',
|
|
'penman==0.6.2',
|
|
],
|
|
},
|
|
python_requires='>=3.6',
|
|
)
|