Skip to content

Commit

Permalink
Version identifier packaging tweaks (#828)
Browse files Browse the repository at this point in the history
Minor tweaks to provide common attributes like 

```python
mlos_core.__version__
# or
mlos_core.VERSION
```

Co-authored-by: Sergiy Matusevych <sergiym@microsoft.com>
  • Loading branch information
bpkroth and motus authored Aug 1, 2024
1 parent f681cfd commit 1ad725a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mlos_bench/mlos_bench/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
"""mlos_bench is a framework to help automate benchmarking and and OS/application
parameter autotuning.
"""
from mlos_bench.version import VERSION

__version__ = VERSION
3 changes: 3 additions & 0 deletions mlos_core/mlos_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
# Licensed under the MIT License.
#
"""Basic initializer module for the mlos_core package."""
from mlos_core.version import VERSION

__version__ = VERSION
3 changes: 3 additions & 0 deletions mlos_viz/mlos_viz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
from mlos_bench.storage.base_experiment_data import ExperimentData
from mlos_viz import base
from mlos_viz.util import expand_results_data_args
from mlos_viz.version import VERSION

__version__ = VERSION


class MlosVizMethod(Enum):
Expand Down

0 comments on commit 1ad725a

Please sign in to comment.