1 parent 74ebd5c commit 51943feCopy full SHA for 51943fe
3 files changed
quantities/__init__.py
@@ -243,7 +243,7 @@
243
244
#from __future__ import absolute_import
245
246
-__version__ = '0.5b6'
+from version import __version__
247
248
import quantity
249
from quantity import Quantity
quantities/version.py
@@ -0,0 +1,2 @@
1
+
2
+__version__ = '0.5.0'
setup.py
@@ -81,10 +81,7 @@
81
'Topic :: Scientific/Engineering',
82
]
83
84
-for line in file('quantities/__init__.py').readlines():
85
- if line[:11] == '__version__':
86
- exec(line)
87
- break
+execfile('quantities/version.py')
88
89
package_data = {
90
'quantities':['tests/*', 'constants/NIST_codata.txt']
0 commit comments