From aba65369d2d55b337939d004b06d6ff10f8519b9 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Tue, 18 Nov 2014 11:37:42 +0100 Subject: [enh] make version of searx readable --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index da3d1b6a4..3e52e18d3 100644 --- a/setup.py +++ b/setup.py @@ -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=[ -- cgit v1.2.3