Skip to content

Commit

Permalink
Update versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
VeckoTheGecko committed Sep 30, 2024
1 parent 3aeeabc commit 34bce7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def is_non_standard_version(version):
Determine if the given version string has more than 3 components (e.g., from a developer version).
"""

return len(version.split(".")) > 3
return len(version.split(".")) != 3

# based on pandas doc/source/conf.py
def linkcode_resolve(domain, info):
Expand Down
5 changes: 4 additions & 1 deletion plasticparcels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
from plasticparcels.particlefile import * # noqa
from plasticparcels.utils import * # noqa

from plasticparcels._version_setup import __version__, __version_tuple__ # noqa
try:
from plasticparcels._version_setup import __version__ # noqa
except ModuleNotFoundError:
__version__ = "unknown"

0 comments on commit 34bce7a

Please sign in to comment.