cista-storage/pyproject.toml

72 lines
1.1 KiB
TOML
Raw Normal View History

2023-10-15 09:00:29 +01:00
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "cista"
dynamic = ["version"]
description = "Dropbox-like file server with modern web interface"
readme = "README.md"
license = ""
authors = [
{ name = "Vasanko" },
2023-10-15 09:00:29 +01:00
]
classifiers = [
]
dependencies = [
"argon2-cffi",
"blake3",
"brotli",
"docopt",
"inotify",
2023-10-15 09:00:29 +01:00
"msgspec",
"pathvalidate",
"pyjwt",
2023-10-15 09:00:29 +01:00
"sanic",
"tomli_w",
2023-10-15 09:00:29 +01:00
]
[project.urls]
Homepage = ""
[project.scripts]
cista = "cista.__main__:main"
[project.optional-dependencies]
dev = [
"pytest",
]
2023-10-21 20:30:47 +01:00
[tool.hatchling]
# Build frontend
pre_build = "npm run build --prefix cista-front"
[tool.hatch.version]
source = "vcs"
2023-10-15 09:00:29 +01:00
[tool.hatch.build]
hooks.vcs.version-file = "cista/_version.py"
hooks.vcs.template = """
# This file is automatically generated by hatch build.
2023-10-21 20:30:47 +01:00
__version__ = {version!r}
2023-10-15 09:00:29 +01:00
"""
2023-10-21 20:30:47 +01:00
2023-10-15 09:00:29 +01:00
targets.sdist.include = [
"/cista",
]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--verbosity=-1",
"-p no:warnings",
]
testpaths = [
"tests",
]
[tool.isort]
#src_paths = ["cista", "tests"]
line_length = 120
multi_line_output = 5