Skip to content

Commit

Permalink
Single source the package version
Browse files Browse the repository at this point in the history
  • Loading branch information
hegdevinayi committed Sep 17, 2019
1 parent d06ab69 commit b685d2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion qmpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

import django.core.exceptions as de

__version__ = 'qmpy version = 1.3'
__version__ = '1.2.0'
VERSION = __version__

INSTALL_PATH = os.path.abspath(os.path.dirname(__file__))
sys.path = [os.path.join(INSTALL_PATH, 'qmpy', 'db')] + sys.path
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
from setuptools import setup, find_packages

from qmpy import __version__


setup(
name='qmpy',
version='1.2.0',
version=__version__,
author='S. Kirklin',
author_email='[email protected]',
license='LICENSE.txt',
Expand Down

0 comments on commit b685d2a

Please sign in to comment.