forked from HIT-SCIR/ltp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
51 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
) |