forked from NexaAI/nexa-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (94 loc) · 2.36 KB
/
pyproject.toml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"
[project]
name = "nexaai"
dynamic = ["version"]
description = "Nexa AI SDK"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Nexa AI", email = "[email protected]" }]
dependencies = [
"cmake", # For building C++ extensions
"faster_whisper",
"typing-extensions>=4.5.0", # For ggml
"numpy>=1.20.0",
"diskcache>=5.6.1",
"jinja2>=2.11.3",
"librosa>=0.8.0",
"fastapi",
"uvicorn",
"pydantic",
"pillow",
"huggingface_hub",
"prompt_toolkit",
"tqdm", # Shared dependencies
"tabulate",
"python-multipart",
"cmake",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.optional-dependencies]
onnx = [
"librosa",
"optimum[onnxruntime]", # for CPU version
"diffusers", # required for image generation
"optuna",
"pydantic",
"PyYAML",
"requests",
"setuptools",
"soundfile",
"transformers",
"ttstokenizer",
]
[project.urls]
Homepage = "https://github.com/NexaAI/nexaai-sdk-cpp"
Issues = "https://github.com/NexaAI/nexaai-sdk-cpp/issues"
Documentation = "https://docs-test.nexa4ai.com/"
[project.scripts]
nexa-cli = "nexa.cli.entry:main"
nexa = "nexa.cli.entry:main"
nexaai = "nexa.cli.entry:main"
nexai = "nexa.cli.entry:main"
[tool.scikit-build]
wheel.packages = [
"nexa",
"nexa.cli",
"nexa.gguf",
"nexa.gguf.llama",
"nexa.gguf.sd",
"nexa.gguf.server",
"nexa.onnx",
"nexa.onnx.server",
]
sdist.include = [
"CMakeLists.txt",
"dependency/llama.cpp/*",
"dependency/stable-diffusion.cpp/*",
]
sdist.exclude = [
".github",
"build",
"dist",
"nexa.egg-info",
"dependency/llama.cpp/build",
"dependency/stable-diffusion.cpp/build",
]
build.verbose = true
cmake.build-type = "Release"
cmake.version = ">=3.16"
cmake.args = ["-DCMAKE_BUILD_PARALLEL_LEVEL=16"]
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "nexa/__init__.py"
[tool.pytest.ini_options]
testpaths = ["tests"]