From 867d8784ce366bc2acde31cd4c1865bdde8fbf52 Mon Sep 17 00:00:00 2001 From: AlexV Date: Fri, 8 Mar 2019 13:56:09 +0100 Subject: [PATCH] removing version retrieval via pkg_resources. static version string in code. --- mpmath/__init__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mpmath/__init__.py b/mpmath/__init__.py index 5d671553..b00e3f3f 100644 --- a/mpmath/__init__.py +++ b/mpmath/__init__.py @@ -1,9 +1,4 @@ -import pkg_resources -try: - __version__ = pkg_resources.get_distribution(__name__).version -except pkg_resources.DistributionNotFound: - __version__ = '1.1.0' -del pkg_resources +__version__ = '1.1.0' from .usertools import monitor, timing