Spaces:
Running
Running
Create src/pyproject.toml
Browse files- src/pyproject.toml +56 -0
src/pyproject.toml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[build-system]
|
2 |
+
requires = [
|
3 |
+
"hatchling",
|
4 |
+
"hatch-requirements-txt",
|
5 |
+
"hatch-fancy-pypi-readme>=22.5.0",
|
6 |
+
]
|
7 |
+
build-backend = "hatchling.build"
|
8 |
+
|
9 |
+
[project]
|
10 |
+
name = "modelscope_gradio_components"
|
11 |
+
version = "0.0.1-beta.8"
|
12 |
+
description = "A set of extension component libraries based on gradio 4.x, mainly focuses on enhancing conversational scenarios, supporting multimodal contexts, and providing assistance for various other specialized scenarios."
|
13 |
+
readme = "README.md"
|
14 |
+
license = "Apache-2.0"
|
15 |
+
requires-python = ">=3.8"
|
16 |
+
authors = [{ name = "YOUR NAME", email = "[email protected]" }]
|
17 |
+
keywords = [
|
18 |
+
"gradio-custom-component",
|
19 |
+
"modelscope-gradio-components",
|
20 |
+
"gradio-template-Chatbot",
|
21 |
+
]
|
22 |
+
# Add dependencies here
|
23 |
+
dependencies = ["gradio>=4.0,<5.0"]
|
24 |
+
classifiers = [
|
25 |
+
'Development Status :: 3 - Alpha',
|
26 |
+
'License :: OSI Approved :: Apache Software License',
|
27 |
+
'Operating System :: OS Independent',
|
28 |
+
'Programming Language :: Python :: 3',
|
29 |
+
'Programming Language :: Python :: 3 :: Only',
|
30 |
+
'Programming Language :: Python :: 3.8',
|
31 |
+
'Programming Language :: Python :: 3.9',
|
32 |
+
'Programming Language :: Python :: 3.10',
|
33 |
+
'Programming Language :: Python :: 3.11',
|
34 |
+
'Topic :: Scientific/Engineering',
|
35 |
+
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
36 |
+
'Topic :: Scientific/Engineering :: Visualization',
|
37 |
+
]
|
38 |
+
|
39 |
+
[project.optional-dependencies]
|
40 |
+
dev = ["build", "twine"]
|
41 |
+
|
42 |
+
[tool.hatch.build]
|
43 |
+
artifacts = [
|
44 |
+
"backend/modelscope_gradio_components/components/Chatbot/templates",
|
45 |
+
"backend/modelscope_gradio_components/components/MultimodalInput/templates",
|
46 |
+
"backend/modelscope_gradio_components/components/Markdown/templates",
|
47 |
+
"backend/modelscope_gradio_components/components/Chatbot/templates",
|
48 |
+
"backend/modelscope_gradio_components/components/Markdown/templates",
|
49 |
+
"backend/modelscope_gradio_components/components/MultimodalInput/templates",
|
50 |
+
]
|
51 |
+
|
52 |
+
[tool.hatch.build.targets.sdist]
|
53 |
+
include = ["/backend/modelscope_gradio_components"]
|
54 |
+
|
55 |
+
[tool.hatch.build.targets.wheel]
|
56 |
+
packages = ["/backend/modelscope_gradio_components"]
|