Move version string into module

This commit is contained in:
Jan Petykiewicz 2018-09-16 20:14:31 -07:00
parent b62cd6e867
commit 8360f98395
2 changed files with 3 additions and 1 deletions

View File

@ -41,3 +41,4 @@ from .main import cg_solver
__author__ = 'Jan Petykiewicz' __author__ = 'Jan Petykiewicz'
version = '0.3'

View File

@ -1,9 +1,10 @@
#!/usr/bin/env python #!/usr/bin/env python
from setuptools import setup, find_packages from setuptools import setup, find_packages
import opencl_fdfd
setup(name='opencl_fdfd', setup(name='opencl_fdfd',
version='0.3', version=opencl_fdfd.version,
description='OpenCL FDFD solver', description='OpenCL FDFD solver',
author='Jan Petykiewicz', author='Jan Petykiewicz',
author_email='anewusername@gmail.com', author_email='anewusername@gmail.com',