2018-06-26 19:11:19 +02:00
|
|
|
#!/usr/bin/env python3
|
2022-08-26 18:12:02 +02:00
|
|
|
# PYTHON_ARGCOMPLETE_OK
|
2016-03-15 16:57:26 +01:00
|
|
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
|
|
|
# this repository contains the full copyright notices and license terms.
|
2026-03-21 18:46:34 +01:00
|
|
|
|
2016-03-15 16:57:26 +01:00
|
|
|
import os
|
2021-12-11 17:58:45 +01:00
|
|
|
import sys
|
2016-03-15 16:57:26 +01:00
|
|
|
|
|
|
|
|
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
|
|
|
|
'..', '..', 'trytond')))
|
|
|
|
|
if os.path.isdir(DIR):
|
|
|
|
|
sys.path.insert(0, os.path.dirname(DIR))
|
|
|
|
|
|
2026-03-21 18:46:34 +01:00
|
|
|
from trytond.cli.admin import main # noqa: E402
|
2016-03-15 16:57:26 +01:00
|
|
|
|
2026-03-21 18:46:34 +01:00
|
|
|
main()
|