Skip to content

Commit

Permalink
include version in lib and improve pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
dstathis committed Dec 17, 2024
1 parent 61a8bdf commit bec03ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions optprompt/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from optprompt.optprompt import OptionPrompter

__version__ = "0.5.0"
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
dynamic = ["version"]
name = "optprompt"
version = "0.4.0"
authors = [
{ name="Dylan Stephano-Shachter", email="[email protected]" }
]
Expand All @@ -19,8 +19,8 @@ classifiers = [
]

[project.urls]
Homepage = "https://github.com/dstathis/optprompt"
"Bug Tracker" = "https://github.com/dstathis/optprompt/issues"
homepage = "https://github.com/dstathis/optprompt"
issues = "https://github.com/dstathis/optprompt/issues"

[tool.setuptools]
packages = ["optprompt"]
[tool.hatch.version]
path = "optprompt/__init__.py"

0 comments on commit bec03ce

Please sign in to comment.