-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·47 lines (44 loc) · 1.52 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·47 lines (44 loc) · 1.52 KB
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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="Kkit",
version="2.6.2",
author="Erwin Li",
author_email="erwinli@qq.com",
description="some personnal kits",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/erwinliyh/Kylis_Kit",
project_urls={
"Bug Tracker": "https://github.com/erwinliyh/Kylis_Kit/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.6",
install_requires=[
"portalocker",
],
extras_require={
"color" : ["haishoku", "colorsys", "numpy", "requests"],
"encryption" : ["cryptography"],
"mder" : ["requests", "tqdm"],
"scaling" : ["pandas"],
"str2latex" : ["numpy"],
"llm" : ["fastapi", "torch", "torchvision", "torchaudio", "uvicorn", "wandb",
"transformers", "datasets", "peft", "python-multipart", "trl"],
"doc" : ["pdoc"]
},
entry_points={
'console_scripts': [
'kkit-lora-server=Kkit.llm_utils.lora_fine_tune_server:main',
'kkit-llamafactory-server=Kkit.llm_utils.llamafactory_server:main',
'kkit-llama-server=Kkit.llm_utils.llamacpp_wrapper_server:main',
]
}
)