We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dfd4bd8 + 324d9b5 commit 0300a9bCopy full SHA for 0300a9b
ngcsimlib/__init__.py
@@ -6,6 +6,11 @@
6
from ngcsimlib._src.configManager import get_config, provide_namespace
7
import argparse, os, json
8
9
+import pkg_resources
10
+from pkg_resources import get_distribution
11
+
12
+__version__ = get_distribution('ngcsimlib').version
13
14
def configure():
15
parser = argparse.ArgumentParser(description='Build and run a model using ngclearn')
16
parser.add_argument("--config", type=str, help='location of config.json file')
@@ -27,4 +32,4 @@ def configure():
27
32
# "additional information")
28
33
return
29
34
30
- init_config(config_path)
35
+ init_config(config_path)
0 commit comments