summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi.cardona@logilab.fr>2015-06-24 15:47:33 +0200
committerRémi Cardona <remi.cardona@logilab.fr>2015-06-24 15:47:33 +0200
commit30655afccc28f7a7f98af812d95a2ca98be64f76 (patch)
treeff6d36647aeedbcc98e0549645da7fc2d7bbe422
parent0935c330effe330f19ebf7a5d121103441b946c3 (diff)
downloadlogilab-common-30655afccc28f7a7f98af812d95a2ca98be64f76.tar.gz
Stop importing __pkginfo__
-rw-r--r--logilab/common/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/logilab/common/__init__.py b/logilab/common/__init__.py
index 6a7c8b4..b11375e 100644
--- a/logilab/common/__init__.py
+++ b/logilab/common/__init__.py
@@ -26,8 +26,9 @@
"""
__docformat__ = "restructuredtext en"
+import pkg_resources
-from logilab.common.__pkginfo__ import version as __version__
+__version__ = pkg_resources.get_distribution('logilab-common').version
STD_BLACKLIST = ('CVS', '.svn', '.hg', 'debian', 'dist', 'build')