-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (42 loc) · 1.52 KB
/
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
38
39
40
41
42
43
44
45
46
47
# -*- coding: utf-8 -*-
# Author: ShiYan(2229029156@qq.com)
# Brief:
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
with open('LICENSE', 'r', encoding='utf-8') as f:
license = f.read()
with open('requirements.txt', 'r', encoding='utf-8') as f:
reqs = f.read()
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
setup(
name='RNN4IE',
author='ShiYan',
version='0.1.0',
license='Apache 2.0',
description='Chinese Information Extraction',
long_description=readme,
long_description_content_type='text/markdown',
author_email='2229029156@qq.com',
url='https://github.com/jiangnanboy/RNN4IE',
python_requires='>=3.6',
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Chinese (Traditional)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Text Processing :: Linguistic',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
keywords='NLP,IE,Chinese Information Extraction',
#install_requires=reqs.strip().split('\n'),
packages=find_packages(exclude=['data']),
package_dir={'RNN4IE': 'RNN4IE'},
zip_safe=True,
)