Skip to content

Commit

Permalink
Drop setuptools_scm runtime use.
Browse files Browse the repository at this point in the history
  • Loading branch information
anntzer committed Jan 26, 2020
1 parent 1901048 commit f66656d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions lib/mplcairo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import sys

try:
import setuptools_scm
__version__ = setuptools_scm.get_version( # xref setup.py
root="../..", relative_to=__file__,
version_scheme="post-release", local_scheme="node-and-date")
except (ImportError, LookupError):
try:
from ._version import version as __version__
except ImportError:
pass
from ._version import version as __version__
except ImportError:
__version__ = "(unknown version)"

if sys.platform != "win32":
def _load_symbols():
Expand Down

0 comments on commit f66656d

Please sign in to comment.