-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (66 loc) · 2.53 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env python
#
# RATCHADA_UTILS: PROCESSOR PACKAGE
#
# COPYRIGHT (C) 2024 RATCHADA UTILS PROJECT
# AUTHOR: TM-BEST-CHOKULKET
# TM-ZOON-PATCHARAWIWATPONG
# URL: <https://thinkingmachin.es/>
# LICENSE: see LICENSE for further info
import os
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as readme:
LONG_DESCRIPTION = readme.read()
def parse_requirements(filename):
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return [line.strip() for line in f if line.strip() and not line.startswith("#")]
setup(
name="ratchada_utils",
version="2.2.6",
packages=find_packages(include=["ratchada_utils", "ratchada_utils.*"]),
package_data={
"ratchada_utils.processor": ["*.json", "*.py"],
"ratchada_utils.evaluator": ["*.py"],
},
include_package_data=True,
install_requires=parse_requirements("requirements.txt"),
license="MIT",
description="Ratchada Utils are Python package use with Ratchada Whisper model utilities.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="tm-zoon",
author_email="zoon_p@thinkingmachin.es",
url="https://github.com/thinkingmachines/ratchada-utils/",
project_urls={
"Documentation": "https://huggingface.co/ThinkingMachinesDataScience/Ratchada-Fang-Thon-Whisper",
"Source Code": "https://github.com/thinkingmachines/ratchada-utils",
"Issue Tracker": "https://github.com/thinkingmachines/ratchada-utils/issues",
},
python_requires=">=3.10, <3.12",
keywords=[
"model",
"Ratchada-Whisper",
"tokenizing",
"language",
"natural language",
"text analytics",
],
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: General",
"Topic :: Text Processing :: Indexing",
"Topic :: Text Processing :: Linguistic",
],
)