Skip to content

Commit

Permalink
fix tagging (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
goatrocks authored Mar 1, 2021
1 parent 75ff4c7 commit 4a7cd5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 4 additions & 0 deletions indico/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@

from indico.client import *
from indico.client.request import *

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
11 changes: 0 additions & 11 deletions indico/_version.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@


try:
from importlib import metadata
except ImportError:
# If running on pre-3.8
import importlib_metadata as metadata


def get_version():
return metadata.version("indico-client")

# This file helps to compute a version number in source trees obtained from
# git-archive tarball (such as those provided by githubs download-from-tag
# feature). Distribution tarballs (built by setup.py sdist) and build
Expand Down

0 comments on commit 4a7cd5b

Please sign in to comment.