on master help sign in
[fix] brands: add variables from build env to setup.py

We have some variables in the build environment which are also needed in the setup.py process. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commitf6b29f68a107ac083bd5df0d6e7bda8a05f4479f authorMarkus Heiser <markus.heiser@darmarit.de> dateWed 25 Mar 2020, 12:03 (7 years ago) parente84fc94
1 file changed+2−1
setup.py+2−1
setup.py+2−1
@@ -10,6 +10,7 @@ import sys
1010# required to load VERSION_STRING constant
1111sys.path.insert(0, './searx')
1212from version import VERSION_STRING
13+import brand
1314
1415with open('README.rst') as f:
1516 long_description = f.read()
@@ -36,7 +37,7 @@ setup(
3637 keywords='metasearch searchengine search web http',
3738 author='Adam Tauber',
3839 author_email='asciimoo@gmail.com',
39− url='https://github.com/asciimoo/searx',
40+ url=brand.GIT_URL,
4041 license='GNU Affero General Public License',
4142 packages=find_packages(exclude=["tests*"]),
4243 zip_safe=False,