Refactor with its own entry point and startup script cista, instead of running via sanic. Config file handling and Droppy updates. HTTP redirection/acme server added.

This commit is contained in:
2023-10-18 20:06:14 +00:00
parent 9f889232f3
commit d269442d7f
18 changed files with 247 additions and 51 deletions
+7 -3
View File
@@ -9,12 +9,13 @@ description = "Dropbox-like file server with modern web interface"
readme = "README.md"
license = ""
authors = [
{ name = "Vasanko lda" },
{ name = "Vasanko" },
]
classifiers = [
]
dependencies = [
"argon2-cffi",
"docopt",
"msgspec",
"pathvalidate",
"pyjwt",
@@ -26,8 +27,11 @@ dependencies = [
[project.urls]
Homepage = ""
[tool.hatch]
version.source = "vcs"
[project.scripts]
cista = "cista.__main__:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build]
hooks.vcs.version-file = "cista/_version.py"