Skip to content

Commit

Permalink
Source kom version from src
Browse files Browse the repository at this point in the history
  • Loading branch information
tayden committed Jan 30, 2025
1 parent b8619e3 commit 0da9196
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
sed -i "s/0.0.0/${{ env.tag }}/g" kelp_o_matic/__init__.py pyproject.toml
sed -i "s/0.0.0/${{ env.tag }}/g" kelp_o_matic/__init__.py
uv build
uv publish
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "kelp-o-matic"
version = "0.0.0"
dynamic = ["version"]
description = "Hakai Segment Tool for GeoTiff RPAS Imagery"
readme = "README.md"
authors = [{ name = "Taylor Denouden", email = "[email protected]" }]
requires-python = ">=3.10, <3.14"
readme = "README.md"
license = "MIT"
dependencies = [
"numpy>=1.24.2",
Expand Down Expand Up @@ -46,6 +46,9 @@ include = ["kelp_o_matic"]
[tool.hatch.build.targets.wheel]
include = ["kelp_o_matic"]

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

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Expand Down
1 change: 0 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0da9196

Please sign in to comment.