Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .bumpversion.cfg

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,6 @@ ENV/
site/
audit.txt
.claude/settings.local.json

# generated by hatch-vcs at build / editable-install time
solvis/_version.py
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "solvis"
version = "1.3.3"
dynamic = ["version"]
description = "Analysis of opensha modular solution files."
readme = "README.md"
license = { text = "AGPL-3.0-or-later" }
Expand Down Expand Up @@ -43,7 +43,6 @@ doc = [
]
dev = [
"black>=24.10.0",
"bump2version>=1.0.1",
"flake8>=7.1.1",
"flake8-docstrings>=1.7.0",
"ipython>=8.11.0",
Expand All @@ -66,9 +65,15 @@ scripts = [
]

[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.hatch.version]
source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "solvis/_version.py"

[tool.hatch.build.targets.wheel]
packages = ["solvis"]

Expand Down
3 changes: 1 addition & 2 deletions solvis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
"""

from . import utils
from ._version import __version__
from .solution import CompositeSolution, FaultSystemSolution, InversionSolution

__version__ = '1.3.3'
16 changes: 2 additions & 14 deletions uv.lock

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

Loading