Skip to content

Commit

Permalink
Merge pull request #15 from kthyng/main
Browse files Browse the repository at this point in the history
with precommit now
  • Loading branch information
kthyng authored Jun 3, 2021
2 parents c151dce + 752ff91 commit 9bdfb68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions extract_model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
"""

from pkg_resources import DistributionNotFound, get_distribution

from .extract_model import get_var_cf, select


try:
__version__ = get_distribution("cf_xarray").version
except DistributionNotFound:
# package is not installed
__version__ = "unknown"

from .extract_model import get_var_cf, select
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
from setuptools import setup


setup(
use_scm_version=True,
setup_requires=["setuptools_scm"]
)
setup(use_scm_version=True, setup_requires=["setuptools_scm"])

0 comments on commit 9bdfb68

Please sign in to comment.