Spaces:
Runtime error
Runtime error
Create pyproject.toml
Browse files- pyproject.toml +46 -0
pyproject.toml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 = "gradio_notebook"
|
11 |
+
version = "0.0.11"
|
12 |
+
description = "Interactive notebook playground for Hugging Face models."
|
13 |
+
readme = "README.md"
|
14 |
+
license = "MIT"
|
15 |
+
requires-python = ">=3.10"
|
16 |
+
authors = [
|
17 |
+
{name= "LastMile AI" },
|
18 |
+
]
|
19 |
+
keywords = ["gradio-custom-component", "gradio-template-Fallback", "aiconfig", "workbook", "notebook"]
|
20 |
+
# Add dependencies here. Used for dynamic requirements below
|
21 |
+
dynamic = ["dependencies"]
|
22 |
+
|
23 |
+
[tool.hatch.metadata.hooks.requirements_txt]
|
24 |
+
files = ["requirements.txt"]
|
25 |
+
|
26 |
+
classifiers = [
|
27 |
+
'Development Status :: 3 - Alpha',
|
28 |
+
'License :: OSI Approved :: Apache Software License',
|
29 |
+
'Operating System :: OS Independent',
|
30 |
+
'Programming Language :: Python :: 3',
|
31 |
+
'Programming Language :: Python :: 3 :: Only',
|
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 = ["/backend/gradio_notebook/templates", "*.pyi"]
|
44 |
+
|
45 |
+
[tool.hatch.build.targets.wheel]
|
46 |
+
packages = ["/backend/gradio_notebook"]
|