28 lines
855 B
Python
28 lines
855 B
Python
###################################################################
|
|
# Numexpr - Fast numerical array expression evaluator for NumPy.
|
|
#
|
|
# License: MIT
|
|
# Author: See AUTHORS.txt
|
|
#
|
|
# See LICENSE.txt and LICENSES/*.txt for details about copyright and
|
|
# rights to use.
|
|
####################################################################
|
|
|
|
version = '2.4.1'
|
|
release = False
|
|
|
|
if not release:
|
|
version += '.dev'
|
|
import os
|
|
|
|
svn_version_file = os.path.join(os.path.dirname(__file__),
|
|
'__svn_version__.py')
|
|
if os.path.isfile(svn_version_file):
|
|
import imp
|
|
|
|
svn = imp.load_module('numexpr.__svn_version__',
|
|
open(svn_version_file),
|
|
svn_version_file,
|
|
('.py', 'U', 1))
|
|
version += svn.version
|