Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to versioningit #53

Merged
merged 3 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Build information
run: |
uname -a
df -h
ulimit -a


# More info on options: https://github.com/conda-incubator/setup-miniconda
- name: Install conda dependencies
uses: conda-incubator/setup-miniconda@v2
Expand Down Expand Up @@ -101,6 +102,9 @@ jobs:
conda info
conda list

- name: Test imports
run: |
python -Ic "import mdaencore; print(mdaencore.__version__)"

- name: Run tests
run: |
Expand Down
4 changes: 4 additions & 0 deletions mdaencore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"""\
Structural ensemble analysis package.
"""
from importlib.metadata import version

__version__ = version("mdaencore")

from .similarity import hes, ces, dres, \
ces_convergence, dres_convergence

Expand Down
Loading
Loading