From 8360f98395351cbdc0c3cb7d61e17c742b8cc974 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 16 Sep 2018 20:14:31 -0700 Subject: [PATCH] Move version string into module --- opencl_fdfd/__init__.py | 1 + setup.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/opencl_fdfd/__init__.py b/opencl_fdfd/__init__.py index f68a85c..a1d54c6 100644 --- a/opencl_fdfd/__init__.py +++ b/opencl_fdfd/__init__.py @@ -41,3 +41,4 @@ from .main import cg_solver __author__ = 'Jan Petykiewicz' +version = '0.3' diff --git a/setup.py b/setup.py index ec49bd3..c3792b8 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,10 @@ #!/usr/bin/env python from setuptools import setup, find_packages +import opencl_fdfd setup(name='opencl_fdfd', - version='0.3', + version=opencl_fdfd.version, description='OpenCL FDFD solver', author='Jan Petykiewicz', author_email='anewusername@gmail.com',