More __version__ patches
@@ -8,9 +8,18 @@ YANK
# Define global version.
try:
from . import version # Needed for yank 3.X.
+except:
+ # Fill in information manually.
+ class _Version:
+ short_version = "dev"
+ version = "dev"
+ full_version = "dev"
+ git_revision = "dev"
+ release = False
+
+ version = _Version()
+
__version__ = version.version
-except ImportError:
- __version__ = "0.0.0dev"
# Self module imports
from . import utils
