Skip to content

Commit

Permalink
Switch to hatchling, upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpelt committed Oct 21, 2024
1 parent 3fd75bd commit f970df1
Show file tree
Hide file tree
Showing 2 changed files with 1,425 additions and 1,658 deletions.
16 changes: 11 additions & 5 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,28 @@ dependencies = [
"uvicorn>=0.22.0",
"fastapi-sso>=0.10.0",
"boto3>=1.34.67",
"tiktoken>=0.8.0",
]
name = "openui"
version = "0.4.0"
description = "A backend service for generating HTML components with LLM's"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [{ name = "Chris Van Pelt" }]
license = { text = "Apache-2.0" }
classifiers = ["License :: OSI Approved :: Apache Software License"]

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.setuptools]
packages = ["openui", "openui.util"]
[tool.hatch.build]
include = ["openui/**/*.py", "openui/assets/*", "openui/dist/*"]
exclude = [
"openui/eval/components/*",
"openui/eval/datasets/*",
"openui/eval/wandb/*"
]

[project.urls]
Homepage = "https://github.com/wandb/openui"
Expand Down
Loading

0 comments on commit f970df1

Please sign in to comment.