Fixed static files routes

This commit is contained in:
2025-10-29 20:58:06 +01:00
parent b21161a273
commit 8a49497a61
7 changed files with 105 additions and 40 deletions

View File

@@ -31,8 +31,16 @@ classifiers = [
# Note: 'requirements.txt' is for development, this is for the package
# -------------------------------------------------------------------
dependencies = [
"argon2-cffi",
"email-validator",
"httptools",
"myauth",
"myutils",
"python-fasthtml",
"PyYAML",
"uvloop",
"watchfiles",
"websockets",
]
[project.urls]
@@ -62,5 +70,11 @@ dev = [
# This section tells the build system where to find your package code
# -------------------------------------------------------------------
[tool.setuptools]
package-dir = {"" = "src"}
package-dir = { "" = "src" }
packages = ["myfasthtml"]
[tool.setuptools.package-data]
myfasthtml = [
"assets/*.css",
"assets/*.js"
]