Remove `backend` (internal) option.
This is not used and it is a good things as it is broken..
This commit is contained in:
parent
5a1175cf2d
commit
20ca39145d
|
@ -38,23 +38,3 @@ def get_target_step(key, default_context=None):
|
|||
|
||||
def target_steps():
|
||||
return _target_steps
|
||||
|
||||
|
||||
def backend():
|
||||
global _backend
|
||||
if _backend is not None:
|
||||
return _backend
|
||||
|
||||
_platform = platform.system()
|
||||
if _platform == "Windows":
|
||||
print(
|
||||
"ERROR: kiwix-build is not intented to run on Windows platform.\n"
|
||||
"There is no backend for Windows, so we can't launch any commands."
|
||||
)
|
||||
sys.exit(0)
|
||||
if _platform == "Linux":
|
||||
_platform, _, _ = platform.linux_distribution()
|
||||
_platform = _platform.lower()
|
||||
_backend = backends.Linux()
|
||||
|
||||
return _backend
|
||||
|
|
|
@ -12,7 +12,6 @@ from ._global import (
|
|||
add_target_step,
|
||||
get_target_step,
|
||||
target_steps,
|
||||
backend,
|
||||
)
|
||||
from . import _global
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ from ._global import (
|
|||
add_target_step,
|
||||
get_target_step,
|
||||
target_steps,
|
||||
backend,
|
||||
)
|
||||
from . import _global
|
||||
from .dependencies.base import (
|
||||
|
|
Loading…
Reference in New Issue