|
1 | | -#! /usr/bin/env python |
2 | | -# -*- coding: utf-8 -*_ |
3 | | - |
4 | | -import setuptools |
5 | | -from distutils.core import setup |
6 | | - |
7 | | -from ltp import __version__ as version |
8 | | - |
9 | | -with open("README.md", "r", encoding='utf-8') as fh: |
10 | | - long_description = fh.read() |
11 | | - |
12 | | -setup( |
13 | | - name='ltp', |
14 | | - version=version, |
15 | | - author='Yunlong Feng', |
16 | | - author_email='ylfeng@ir.hit.edu.cn', |
17 | | - url='https://github.com/HIT-SCIR/ltp', |
18 | | - description='Language Technology Platform', |
19 | | - long_description=long_description, |
20 | | - long_description_content_type="text/markdown", |
21 | | - packages=setuptools.find_packages(exclude=[ |
22 | | - 'docs' |
23 | | - 'tools', |
24 | | - 'tests', |
25 | | - 'examples', |
26 | | - 'config', |
27 | | - ]), |
28 | | - install_requires=[ |
29 | | - "torch>=1.2.0", |
30 | | - "transformers>=3.2.0, <4", |
31 | | - "pygtrie>=2.3.0, <2.5" |
32 | | - ], |
33 | | - classifiers=[ |
34 | | - 'Development Status :: 1 - Planning', |
35 | | - 'Operating System :: OS Independent', |
36 | | - 'Intended Audience :: Developers', |
37 | | - 'Programming Language :: Python :: 3.6', |
38 | | - 'Programming Language :: Python :: 3.7', |
39 | | - 'Programming Language :: Python :: 3.8', |
40 | | - 'Programming Language :: Python :: 3.9', |
41 | | - 'Topic :: Software Development :: Libraries' |
42 | | - ], |
43 | | - python_requires='>=3.6.*, <4', |
44 | | -) |
| 1 | +#! /usr/bin/env python |
| 2 | +# -*- coding: utf-8 -*_ |
| 3 | + |
| 4 | +import setuptools |
| 5 | +from distutils.core import setup |
| 6 | + |
| 7 | +from ltp import __version__ as version |
| 8 | + |
| 9 | +with open("README.md", "r", encoding='utf-8') as fh: |
| 10 | + long_description = fh.read() |
| 11 | + |
| 12 | +setup( |
| 13 | + name='ltp', |
| 14 | + version=version, |
| 15 | + author='Yunlong Feng', |
| 16 | + author_email='ylfeng@ir.hit.edu.cn', |
| 17 | + url='https://github.com/HIT-SCIR/ltp', |
| 18 | + description='Language Technology Platform', |
| 19 | + long_description=long_description, |
| 20 | + long_description_content_type="text/markdown", |
| 21 | + packages=setuptools.find_packages(exclude=[ |
| 22 | + 'docs' |
| 23 | + 'tools', |
| 24 | + 'tests', |
| 25 | + 'examples', |
| 26 | + 'config', |
| 27 | + ]), |
| 28 | + install_requires=[ |
| 29 | + "torch>=1.2.0", |
| 30 | + "transformers>=4.0.0, <5.0", |
| 31 | + "pygtrie>=2.3.0, <2.5" |
| 32 | + ], |
| 33 | + classifiers=[ |
| 34 | + 'Development Status :: 1 - Planning', |
| 35 | + 'Operating System :: OS Independent', |
| 36 | + 'Intended Audience :: Developers', |
| 37 | + 'Programming Language :: Python :: 3.6', |
| 38 | + 'Programming Language :: Python :: 3.7', |
| 39 | + 'Programming Language :: Python :: 3.8', |
| 40 | + 'Programming Language :: Python :: 3.9', |
| 41 | + 'Topic :: Software Development :: Libraries' |
| 42 | + ], |
| 43 | + python_requires='>=3.6.*, <4', |
| 44 | +) |
0 commit comments