Skip to content

Commit 2cbe98e

Browse files
committed
fix: make web a proper Python package for Vercel entrypoint
1 parent ffa674a commit 2cbe98e

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ web/next-env.d.ts
4242
# Roast output
4343
.roast/
4444
roast-report.json
45-
reports/
45+
reports/
46+
.vercel

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
]
1818

1919
[tool.setuptools.packages.find]
20-
include = ["roast*"]
20+
include = ["roast*", "web*"]
2121

2222
[project.scripts]
2323
roast = "roast.cli:app"
@@ -27,4 +27,4 @@ pythonpath = ["."]
2727
testpaths = ["tests"]
2828

2929
[tool.vercel]
30-
entrypoint = "web/api/roast.py:handler"
30+
entrypoint = "web.api.roast:handler"

‎web/__init__.py‎

Whitespace-only changes.

‎web/api/__init__.py‎

Whitespace-only changes.

0 commit comments

Comments
 (0)