|
@@ -1,5 +1,6 @@
|
|
|
[project]
|
|
|
name = "rural-dict"
|
|
|
+version = "1.0.0"
|
|
|
description = "Privacy-respecting, NoJS-supporting Urban Dictionary frontend."
|
|
|
license = "AGPL-3.0-or-later"
|
|
|
readme = "README.md"
|
|
@@ -17,17 +18,9 @@ dependencies = [
|
|
|
"uvicorn[standard]~=0.30.6",
|
|
|
"jinja2~=3.1.4",
|
|
|
]
|
|
|
-dynamic = ["version"]
|
|
|
-
|
|
|
-[project.urls]
|
|
|
-"Source Code" = "https://git.vern.cc/cobra/rural-dict"
|
|
|
-"Issue Tracker" = "https://git.vern.cc/cobra/rural-dict/issues"
|
|
|
-
|
|
|
-[build-system]
|
|
|
-requires = ["hatchling"]
|
|
|
-build-backend = "hatchling.build"
|
|
|
|
|
|
[tool.rye]
|
|
|
+virtual = true
|
|
|
managed = true
|
|
|
universal = true
|
|
|
dev-dependencies = [
|
|
@@ -35,23 +28,11 @@ dev-dependencies = [
|
|
|
]
|
|
|
|
|
|
[tool.rye.scripts]
|
|
|
-dev = """uvicorn app.__main__:app --reload
|
|
|
---reload-include '**/*.py' --reload-include '**/*.html' --reload-include '**/*.css' --port 5758"""
|
|
|
-start = """uvicorn app.__main__:app --no-access-log --proxy-headers
|
|
|
+dev = """uvicorn src.main:app --reload --reload-include 'src/**/*.py'
|
|
|
+--reload-include 'templates/**/*.html' --reload-include 'static/**/*.css' --port 5758"""
|
|
|
+start = """uvicorn src.main:app --no-access-log --proxy-headers
|
|
|
--forwarded-allow-ips '*' --host 0.0.0.0 --port 5758"""
|
|
|
|
|
|
-[tool.hatch.version]
|
|
|
-path = "app/__init__.py"
|
|
|
-
|
|
|
-[tool.hatch.metadata]
|
|
|
-allow-direct-references = true
|
|
|
-
|
|
|
-[tool.hatch.build.targets.wheel]
|
|
|
-packages = ["app"]
|
|
|
-
|
|
|
-[tool.hatch.build.targets.sdist]
|
|
|
-exclude = ["*.xcf"]
|
|
|
-
|
|
|
[tool.ruff]
|
|
|
target-version = "py312"
|
|
|
line-length = 99
|