forked from HIT-SCIR/ltp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.23 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
#! /usr/bin/env python
# -*- coding: utf-8 -*_
import setuptools
from distutils.core import setup
from ltp import __version__ as version
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
setup(
name='ltp',
version=version,
author='Yunlong Feng',
author_email='[email protected]',
url='https://github.com/HIT-SCIR/ltp',
description='Language Technology Platform',
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(exclude=[
'docs'
'tools',
'tests',
'examples',
'config',
]),
install_requires=[
"torch>=1.2.0",
"transformers>=4.0.0, <=4.7.0",
"pygtrie>=2.3.0, <2.5",
"packaging>=20.0"
],
classifiers=[
'Development Status :: 1 - Planning',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries'
],
python_requires='>=3.6.*, <4',
)