This commit is contained in:
cătălin 2024-08-04 10:34:35 +02:00
commit d628ce1c42
No known key found for this signature in database
22 changed files with 491 additions and 1483 deletions

View file

@ -1,8 +1,8 @@
[project]
name = "halig"
authors = [
{ name = "cătălin", email = "185504a9@duck.com" },
{ name = "cătălin", email = "catalin@roboces.dev" }
]
requires-python = ">=3.10"
dependencies = [
"typer>=0.12",
"rich>=13.3.3",
@ -15,7 +15,7 @@ dependencies = [
"pydantic-settings>=2.0",
"hishel>=0.0.26",
]
name = "halig"
requires-python = ">= 3.10"
dynamic = ["version"]
description = "age-encrypted, file-based, note-taking CLI app"
readme = "README.md"
@ -40,21 +40,6 @@ Homepage = "https://git.roboces.dev/catalin/halig"
Repository = "https://git.roboces.dev/catalin/halig"
Documentation = "https://git.roboces.dev/catalin/halig"
Changelog = "https://git.roboces.dev/catalin/halig"
[tool.pdm]
version = { source = "file", path = "halig/__version__.py" }
[tool.pdm.build]
excludes = ["**/.pytest_cache/**"]
includes = []
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project.scripts]
halig = "halig.main:app"
[project.optional-dependencies]
testing = [
"pytest>=7.2.2",
@ -81,6 +66,41 @@ docs = [
dev = [
"bump-pydantic>=0.6.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = []
[tool.hatch.build]
skip-excluded-dirs = true
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "src/halig/__version__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"**/.pytest_cache/**",
"tests/**",
"noxfile.py",
"sample.env",
"Makefile",
".pre-commit-config.yaml",
".gitignore",
]
[tool.hatch.build.targets.wheel]
packages = ["src/halig"]
only-packages = true
[project.scripts]
halig = "halig.main:app"
[tool.pytest]
mock_use_standalone_module = true