diff options
author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-11-18 11:37:42 +0100 |
---|---|---|
committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-11-18 11:37:42 +0100 |
commit | aba65369d2d55b337939d004b06d6ff10f8519b9 (patch) | |
tree | 0197b53f95679a4a95fa1f5e96b39b7c54748034 /setup.py | |
parent | b1234ee88947f2ce61a7df361c706622a3ec2a32 (diff) | |
download | searxng-aba65369d2d55b337939d004b06d6ff10f8519b9.tar.gz searxng-aba65369d2d55b337939d004b06d6ff10f8519b9.zip |
[enh] make version of searx readable
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,6 +6,10 @@ from setuptools import find_packages import os +# required to load VERSION_STRING constant +sys.path.insert(0, './searx') +from version import VERSION_STRING + def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read() @@ -15,7 +19,7 @@ long_description = read('README.rst') setup( name='searx', - version="0.4.0", + version=VERSION_STRING, description="A privacy-respecting, hackable metasearch engine", long_description=long_description, classifiers=[ |