Skip to content

Commit

Permalink
更新了包依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
AlongWY committed Dec 28, 2020
1 parent 1118a34 commit aae913b
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
torch>=1.2.0
seqeval>=1.1.0
datasets>=1.0, <1.3.*
transformers>=3.2.0, <4
transformers>=4.0.0, <5.0
pytorch_lightning>=1.0.0, <1.1.*

# Front End
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Core
torch>=1.2.0
transformers>=3.2.0, <4

# Front End
pygtrie>=2.3.0, <2.5
# Core
torch>=1.2.0
transformers>=4.0.0, <5.0

# Front End
pygtrie>=2.3.0, <2.5
88 changes: 44 additions & 44 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
#! /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>=3.2.0, <4",
"pygtrie>=2.3.0, <2.5"
],
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',
)
#! /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, <5.0",
"pygtrie>=2.3.0, <2.5"
],
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',
)

0 comments on commit aae913b

Please sign in to comment.