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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LoopStructural": "1.7.1",
".": "1.7.1",
"packages/loop_common": "0.0.2",
"packages/loop_interpolation": "0.0.1"
}
332 changes: 321 additions & 11 deletions CHANGELOG.md

Large diffs are not rendered by default.

334 changes: 0 additions & 334 deletions LoopStructural/CHANGELOG.md

This file was deleted.

3 changes: 2 additions & 1 deletion LoopStructural/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
"timed_stage",
]
import tempfile
from importlib.metadata import version
from pathlib import Path

from .version import __version__
__version__ = version("LoopStructural")

experimental = False
ch = logging.StreamHandler()
Expand Down
1 change: 0 additions & 1 deletion LoopStructural/version.py

This file was deleted.

6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'LoopStructural'
version = '1.7.1'
description = '3D geological modelling'
authors = [{ name = 'Lachlan Grose', email = 'lachlan.grose@monash.edu' }]
readme = 'README.md'
Expand Down Expand Up @@ -40,7 +41,6 @@ dependencies = [
"scikit-image",
"scikit-learn",
]
dynamic = ['version']

[project.optional-dependencies]
all = ['loopstructural[inequalities]', 'tqdm']
Expand Down Expand Up @@ -72,9 +72,6 @@ Documentation = 'https://Loop3d.org/LoopStructural/'
"Bug Tracker" = 'https://github.com/loop3d/loopstructural/issues'
"Source Code" = 'https://github.com/loop3d/loopstructural'

[tool.setuptools.dynamic]
version = { attr = 'LoopStructural.version.__version__' }

[tool.setuptools.packages.find]
include = ['LoopStructural', 'LoopStructural.*']

Expand Down Expand Up @@ -306,7 +303,6 @@ allow-dict-calls-with-keyword-arguments = true
"LoopStructural/utils/regions.py" = ["D", "ANN"]
"LoopStructural/utils/typing.py" = ["D", "ANN"]
"LoopStructural/utils/utils.py" = ["D", "ANN"]
"LoopStructural/version.py" = ["D", "ANN"]
"LoopStructural/visualisation/__init__.py" = ["D", "ANN"]
# D/ANN are not enforced outside the library package.
"tests/*" = ["D", "ANN"]
Expand Down
4 changes: 2 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"packages": {
"LoopStructural": {
".": {
"release-type": "python",
"release-as": "1.7.1"
"component": "LoopStructural"
},
"packages/loop_common": {
"release-type": "python",
Expand Down
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
"""See pyproject.toml for project metadata."""

import os
import runpy

from setuptools import setup

package_root = os.path.abspath(os.path.dirname(__file__))

version = runpy.run_path(os.path.join(package_root, "LoopStructural/version.py"))
version = version["__version__"]
setup()
Loading