Skip to content

Commit

Permalink
Switch to versioningit (#121)
Browse files Browse the repository at this point in the history
* Switch to versioningit with updated method in RTD.
  • Loading branch information
IAlibay authored Dec 29, 2023
1 parent cd72bf8 commit 9e2e218
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 3,083 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:

python:
install:
- method: setuptools
- method: pip
path: .

conda:
Expand Down
12 changes: 3 additions & 9 deletions membrane_curvature/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
from .curvature import mean_curvature, gaussian_curvature
from .base import MembraneCurvature

# Handle versioneer
from ._version import get_versions
versions = get_versions()
__version__ = versions['version']
__git_revision__ = versions['full-revisionid']
del get_versions, versions

from . import _version
__version__ = _version.get_versions()['version']
# Handle version
from importlib.metadata import version
__version__ = version("membrane_curvature")
Loading

0 comments on commit 9e2e218

Please sign in to comment.