Skip to content

Commit 84ca289

Browse files
committed
update everything
1 parent ed3350b commit 84ca289

13 files changed

Lines changed: 50 additions & 2694 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
- name: "Setup Micromamba"
3838
uses: mamba-org/setup-micromamba@v2
3939
with:
40-
environment-name: mdrg_env
40+
environment-file: environment.yaml
41+
environment-name: mdrg
4142
create-args: >-
4243
python=${{ matrix.python-version }}
4344
init-shell: bash
@@ -58,6 +59,10 @@ jobs:
5859
run: |
5960
python -m pip install . --no-deps
6061
62+
- name: version
63+
run: |
64+
python -Ic "import MDRestraintsGenerator; print(MDRestraintsGenerator.__version__)"
65+
6166
- name: run_tests
6267
run: |
6368
pytest -n auto -v --cov=MDRestraintsGenerator --cov-report=xml MDRestraintsGenerator/tests/

.lgtm.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

MDRestraintsGenerator/__init__.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
MDRestraintsGenerator
33
A framework for generating restraints for MD simulations
44
"""
5-
6-
# Add imports here
7-
# from .restraints import *
8-
9-
# Handle versioneer
10-
from ._version import get_versions
11-
versions = get_versions()
12-
__version__ = versions['version']
13-
__git_revision__ = versions['full-revisionid']
14-
del get_versions, versions
5+
# Handle version
6+
from importlib.metadata import version
7+
__version__ = version("MDRestraintsGenerator")

0 commit comments

Comments
 (0)