We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aeeabc commit 34bce7aCopy full SHA for 34bce7a
2 files changed
docs/conf.py
@@ -91,7 +91,7 @@ def is_non_standard_version(version):
91
Determine if the given version string has more than 3 components (e.g., from a developer version).
92
"""
93
94
- return len(version.split(".")) > 3
+ return len(version.split(".")) != 3
95
96
# based on pandas doc/source/conf.py
97
def linkcode_resolve(domain, info):
plasticparcels/__init__.py
@@ -2,4 +2,7 @@
2
from plasticparcels.particlefile import * # noqa
3
from plasticparcels.utils import * # noqa
4
5
-from plasticparcels._version_setup import __version__, __version_tuple__ # noqa
+try:
6
+ from plasticparcels._version_setup import __version__ # noqa
7
+except ModuleNotFoundError:
8
+ __version__ = "unknown"
0 commit comments