Skip to content

Commit

Permalink
fixing how version is controlled
Browse files Browse the repository at this point in the history
  • Loading branch information
vadmbertr committed Oct 27, 2023
1 parent c0cdccc commit bfaa333
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
autodoc_member_order = "groupwise"
exclude_patterns = ["_build", "**tests**"]

from jaxparrow import __version__
from version import __version__


# Configuration file for the Sphinx documentation builder.
Expand Down
4 changes: 2 additions & 2 deletions jaxparrow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .version import __version__
from .cyclogeostrophy import cyclogeostrophy
from .geostrophy import geostrophy

__all__ = ["cyclogeostrophy", "geostrophy"]
__version__ = "0.0.1"
__all__ = ["__version__", "cyclogeostrophy", "geostrophy"]
1 change: 1 addition & 0 deletions jaxparrow/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.1"
2 changes: 0 additions & 2 deletions notebooks/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Notebooks

We designed two notebooks, one with the extremely idealised scenario of a [gaussian eddy](gaussian_eddy), and a realistic one focusing on the [Alboran sea](alboran_sea) area.

The goal is both to showcase step-by-step how **jaxparrow** can be used, and to demonstrate the interest of the variational approach we propose.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jaxparrow = "jaxparrow:main"
"Bug Tracker" = "https://github.com/meom-group/jaxparrow/issues"

[tool.setuptools.dynamic]
version = {attr = "jaxparrow.__version__"}
version = {attr = "jaxparrow.version.__version__"}

[tool.setuptools.packages]
find = {}

0 comments on commit bfaa333

Please sign in to comment.