-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
54 lines (50 loc) · 1.51 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
48
49
50
51
52
53
54
import os
from setuptools import setup, find_packages
# Utility function to read the README file.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="textLSP",
version="0.3.2",
author="Viktor Hangya",
author_email="[email protected]",
description=("Language server for text spell and grammar check with various tools."),
license="GPLv3",
url="https://github.com/hangyav/textLSP",
packages=find_packages(include=['textLSP*']),
long_description=read('README.md'),
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': ['textlsp=textLSP.cli:main'],
},
install_requires=[
'pygls==1.3.1',
'lsprotocol==2023.0.1',
'language-tool-python==2.8.2',
'tree_sitter==0.21.3',
'gitpython==3.1.44',
'appdirs==1.4.4',
'openai==1.61.0',
'sortedcontainers==2.4.0',
'langdetect==1.0.9',
'ollama==0.4.7',
],
extras_require={
'dev': [
'pytest==8.3.4',
'python-lsp-jsonrpc==1.1.2',
'pytest-cov==6.0.0',
'coverage-threshold==0.5.0'
],
'transformers': [
'torch==2.6.0',
'transformers==4.48.2',
'bitsandbytes==0.45.1',
],
},
)