Fixed versioning

This commit is contained in:
lores
2025-05-29 22:49:10 +03:00
parent 2a317947ca
commit ccd1fdb312
4 changed files with 2 additions and 9 deletions

View File

@ -22,12 +22,9 @@ __all__ = (
"NotLettersNotFoundError", "NotLettersNotFoundError",
"NotLettersPaymentRequiredError", "NotLettersPaymentRequiredError",
"NotLettersUnauthorizedError", "NotLettersUnauthorizedError",
"__version__",
"__version_tuple__",
) )
from notletters.__meta__ import __version__, __version_tuple__
from notletters.client import NotLetters from notletters.client import NotLetters
from notletters.exceptions import ( from notletters.exceptions import (
NotLettersAPIError, NotLettersAPIError,

View File

@ -1,2 +0,0 @@
__version_tuple__ = (0, 1, 2)
__version__ = ".".join(map(str, __version_tuple__))

View File

@ -25,7 +25,7 @@ keywords = [
license-files = ["LICENSE"] license-files = ["LICENSE"]
name = "notletters" name = "notletters"
readme = "README.md" readme = "README.md"
dynamic = ["version"] version = "0.1.2"
requires-python = ">=3.9" requires-python = ">=3.9"
[project.urls] [project.urls]
@ -94,9 +94,6 @@ ignore-names = []
[tool.ruff.lint.pylint] [tool.ruff.lint.pylint]
allow-magic-value-types = [] allow-magic-value-types = []
[tool.hatch.version]
path = "notletters/__meta__.py"
[tool.uv] [tool.uv]
cache-dir = ".cache/uv" cache-dir = ".cache/uv"
link-mode = "copy" link-mode = "copy"

1
uv.lock generated
View File

@ -465,6 +465,7 @@ wheels = [
[[package]] [[package]]
name = "notletters" name = "notletters"
version = "0.1.2"
source = { virtual = "." } source = { virtual = "." }
dependencies = [ dependencies = [
{ name = "stollen" }, { name = "stollen" },