Skip to content

Commit

Permalink
hatchling build
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Apr 29, 2024
1 parent 15b42ac commit c736ab4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
21 changes: 11 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "base91x"
version = "1.0.0"
dynamic = ["version"]
description = "base91x encoding/decoding library"
authors = [{ name = "Roman Babenko", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.8"
readme = "README.md"
keywords = ["encode", "decode", "base91x"]
classifiers = [
"Programming Language :: Python :: 3",
Expand All @@ -17,15 +17,16 @@ classifiers = [
]

[project.urls]
"Homepage" = "https://github.com/babenek/base91"
"Bug Tracker" = "https://github.com/babenek/base91/issues"
"Homepage" = "https://github.com/babenek/base91x"
"Bug Tracker" = "https://github.com/babenek/base91x/issues"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "src/base91x/__init__.py"

[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
base91x = "base91x.__main__:main"

[tool.setuptools.package-data]
base91x = ["py.typed"]
3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

4 changes: 4 additions & 0 deletions src/base91x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
from .base91x import BASE91X_LEN
from .base91x import decode
from .base91x import encode

__all__ = ["__version__"]

__version__ = "1.0.1"

0 comments on commit c736ab4

Please sign in to comment.