summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index 0053ca8b8..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=[
@@ -66,12 +70,13 @@ setup(
'searx': [
'settings.yml',
'../README.rst',
- 'static/*/*/*',
+ 'static/*/*/*.*',
+ 'static/*/*/*/*.*',
+ 'static/*/*/*/*/*.*',
'translations/*/*/*',
- 'templates/*/*.xml',
- 'templates/*/*.html',
- 'https_rules/*.xml',
- 'templates/*/result_templates/*.html',
+ 'templates/*/*.*',
+ 'templates/*/*/*.*',
+ 'https_rules/*.xml'
],
},