Move version string into module

This commit is contained in:
Jan Petykiewicz 2018-09-16 20:12:41 -07:00
parent c8298d916f
commit d0b303523e
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1,5 @@
from .simulation import Simulation, type_to_C from .simulation import Simulation, type_to_C
__author__ = 'Jan Petykiewicz'
version = '0.4'

View File

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