Update packaging.

This commit is contained in:
Leo Vasanko
2023-10-15 11:00:29 +03:00
committed by Leo Vasanko
parent 46cfc831ff
commit 27b89d6d38
4 changed files with 42 additions and 31 deletions

38
pyproject.toml Normal file
View File

@@ -0,0 +1,38 @@
[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 lda" },
]
classifiers = [
]
dependencies = [
"msgspec",
"pathvalidate",
"sanic",
"watchdog",
]
[project.urls]
Homepage = ""
[tool.hatch]
version.source = "vcs"
[tool.hatch.build]
hooks.vcs.version-file = "cista/_version.py"
hooks.vcs.template = """
# This file is automatically generated by hatch build.
version = {version!r}
version_tuple = {version_tuple!r}
"""
targets.sdist.include = [
"/cista",
]