|
@@ -35,19 +35,19 @@ dev-dependencies = [
|
|
|
]
|
|
|
|
|
|
[tool.rye.scripts]
|
|
|
-dev = """uvicorn src.rural_dict.__main__:app --reload --reload-dir src/rural_dict
|
|
|
+dev = """uvicorn app.__main__:app --reload
|
|
|
--reload-include '**/*.py' --reload-include '**/*.html' --reload-include '**/*.css' --port 5758"""
|
|
|
-start = """uvicorn src.rural_dict.__main__:app --no-access-log --proxy-headers
|
|
|
+start = """uvicorn app.__main__:app --no-access-log --proxy-headers
|
|
|
--forwarded-allow-ips '*' --host 0.0.0.0 --port 5758"""
|
|
|
|
|
|
[tool.hatch.version]
|
|
|
-path = "src/rural_dict/__init__.py"
|
|
|
+path = "app/__init__.py"
|
|
|
|
|
|
[tool.hatch.metadata]
|
|
|
allow-direct-references = true
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
-packages = ["src/rural_dict"]
|
|
|
+packages = ["app"]
|
|
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
|
exclude = ["*.xcf"]
|