cista-storage/pyproject.toml

74 lines
1.2 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",
"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
]
2023-10-27 10:49:11 +01:00
requires-python = ">=3.10"
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",
]
2023-10-27 10:49:11 +01:00
[tool.ruff]
extend-select = ["I", "UP"]
src = ["cista", "tests"]
show-fixes = true
show-source = true
format.preview = true
format.line-ending = "lf"