Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd466297 authored by Matej Cotman's avatar Matej Cotman
Browse files

fix: robot fw, entry points, some flake8, package searx egg

parent b7fa7908
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
env
engines.cfg
.installed.cfg
.coverage
coverage/
.installed.cfg
engines.cfg
env
robot_log.html
robot_output.xml
robot_report.html
setup.cfg

*.pyc
*/*.pyc

bin/
include/
lib/
build/
covearge/
develop-eggs/
dist/
eggs/
include/
lib/
local/
searx.egg-info/
parts/
searx.egg-info/
var/
+4 −8
Original line number Diff line number Diff line
@@ -21,11 +21,7 @@ $(python):
tests: .installed.cfg
	@bin/test

enginescfg:
	@test -f ./engines.cfg || echo "Copying engines.cfg ..."
	@cp --no-clobber engines.cfg_sample engines.cfg

robot: .installed.cfg enginescfg
robot: .installed.cfg
	@bin/robot

flake8: .installed.cfg
@@ -37,18 +33,18 @@ coverage: .installed.cfg
	@bin/coverage report --show-missing
	@bin/coverage html --directory ./coverage

production: bin/buildout production.cfg setup.py enginescfg
production: bin/buildout production.cfg setup.py
	bin/buildout -c production.cfg $(options)
	@echo "* Please modify `readlink --canonicalize-missing ./searx/settings.py`"
	@echo "* Hint 1: on production, disable debug mode and change secret_key"
	@echo "* Hint 2: searx will be executed at server startup by crontab"
	@echo "* Hint 3: to run immediatley, execute 'bin/supervisord'"

minimal: bin/buildout minimal.cfg setup.py enginescfg
minimal: bin/buildout minimal.cfg setup.py
	bin/buildout -c minimal.cfg $(options)

clean:
	@rm -rf .installed.cfg .mr.developer.cfg bin parts develop-eggs \
		searx.egg-info lib include .coverage coverage

.PHONY: all tests enginescfg robot flake8 coverage production minimal clean
.PHONY: all tests robot flake8 coverage production minimal clean
+0 −2
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@ recipe = zc.recipe.egg:script
eggs = ${buildout:eggs}
interpreter = py
dependent-scripts = true
entry-points =
    searx-run=searx.webapp:run


[robot]
+0 −2
Original line number Diff line number Diff line
@@ -13,5 +13,3 @@ parts +=
recipe = zc.recipe.egg:script
eggs = ${buildout:eggs}
interpreter = py
entry-points =
    searx-run=searx.webapp:run
+0 −2
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@ parts +=
recipe = zc.recipe.egg:script
eggs = ${buildout:eggs}
interpreter = py
entry-points =
    searx-run=searx.webapp:run


[supervisor]
Loading