Move version number into module

This commit is contained in:
Jan Petykiewicz 2018-09-16 20:00:36 -07:00
parent e6403462b6
commit 9b82a5d16d
2 changed files with 4 additions and 1 deletions

View File

@ -21,3 +21,5 @@ from .direction import Direction
from .grid import Grid from .grid import Grid
__author__ = 'Jan Petykiewicz' __author__ = 'Jan Petykiewicz'
version = '0.2'

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 gridlock
setup(name='gridlock', setup(name='gridlock',
version='0.2', version=gridlock.version,
description='Coupled gridding library', description='Coupled gridding library',
author='Jan Petykiewicz', author='Jan Petykiewicz',
author_email='anewusername@gmail.com', author_email='anewusername@gmail.com',