diff --git a/setup.py b/setup.py index 1e6f3d2..3200728 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,10 @@ from setuptools import find_packages from setuptools import setup -from pyramid_zipkin.version import __version__ as version +with open('pyramid_zipkin/version.py') as f: + exec(f.read()) + +version = locals()['__version__'] setup( name='pyramid_zipkin',