use VERSION.py instead of importing package before it's installed

This commit is contained in:
Jan Petykiewicz 2021-07-11 17:08:17 -07:00
commit 77f53affe7
3 changed files with 10 additions and 2 deletions

4
opencl_fdfd/VERSION.py Normal file
View file

@ -0,0 +1,4 @@
""" VERSION defintion. THIS FILE IS MANUALLY PARSED BY setup.py and REQUIRES A SPECIFIC FORMAT """
__version__ = '''
0.3
'''.strip()

View file

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