-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (33 loc) · 1.32 KB
/
Copy pathpyproject.toml
File metadata and controls
37 lines (33 loc) · 1.32 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "func-to-web"
version = "1.6.0"
authors = [
{name = "Beltrán Offerrall"}
]
description = "Transform any Python function into a web interface automatically"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pytypeinput==1.0.2", # type system: input types (Color, Email, File...) + validation from type hints
"pytypeinputweb==1.0.3", # frontend assets: the pti-form web component, CSS/JS bundles and CSS variables
"fastapi", # web framework: builds the app, routes and request handling
"uvicorn", # ASGI server that run() uses to serve the app
"jinja2", # renders the HTML templates (templates/*.html)
"python-multipart", # lets FastAPI parse multipart/form-data (form submits and file uploads)
"starlette<1.0.0", # FastAPI's ASGI toolkit, used directly for UploadFile; pinned <1.0.0 for compatibility
]
[project.urls]
Homepage = "https://github.com/offerrall/FuncToWeb"
Repository = "https://github.com/offerrall/FuncToWeb"
[tool.setuptools.packages.find]
where = ["."]
include = ["func_to_web*"]
[tool.setuptools.package-data]
func_to_web = [
"templates/*.html",
"internal_static/**/*.css",
"internal_static/**/*.js"
]