Skip to content

Commit

Permalink
Restore __version__ in __init__.py
Browse files Browse the repository at this point in the history
@PaulDudaRESPEC, this reverts things back to how @timcera set them up, so that we can merge PR #184 into `develop` as soon as possible, so that others can run the example with IOManager.
  • Loading branch information
aufdenkampe committed Dec 16, 2024
1 parent 77a1777 commit 1c2b894
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions examples/1_Intro_to_HSP2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,26 @@
"# TODO: need to fix hsp2 version links"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"# packages in environment at /Users/aaufdenkampe/miniconda3/envs/hsp2_py310:\n",
"#\n",
"# Name Version Build Channel\n",
"hsp2 0.11.0a1 pypi_0 pypi\n"
]
}
],
"source": [
"!conda list hsp2"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
3 changes: 1 addition & 2 deletions src/hsp2/hsp2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
from hsp2.hsp2.mainDoE import main as mainDoE
from hsp2.hsp2.utilities import flowtype, versions

# __version__ = version("hsp2")
# from _version import __version__
__version__ = version("hsp2")
2 changes: 2 additions & 0 deletions src/hsp2/hsp2tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@
from .readUCI import readUCI
from .readWDM import readWDM
from .restart import restart

__version__ = version("hsp2")

0 comments on commit 1c2b894

Please sign in to comment.