|
@@ -11,6 +11,7 @@
|
|
|
|
|
|
import os
|
|
import os
|
|
import sys
|
|
import sys
|
|
|
|
+from importlib.util import find_spec
|
|
|
|
|
|
from taipy._cli._base_cli import _CLI
|
|
from taipy._cli._base_cli import _CLI
|
|
from taipy.core._core_cli import _CoreCLI
|
|
from taipy.core._core_cli import _CoreCLI
|
|
@@ -39,6 +40,11 @@ def _entrypoint():
|
|
_MigrateCLI.create_parser()
|
|
_MigrateCLI.create_parser()
|
|
_HelpCLI.create_parser()
|
|
_HelpCLI.create_parser()
|
|
|
|
|
|
|
|
+ if find_spec("taipy.enterprise"):
|
|
|
|
+ from taipy.enterprise._entrypoint import _entrypoint as _enterprise_entrypoint
|
|
|
|
+
|
|
|
|
+ _enterprise_entrypoint()
|
|
|
|
+
|
|
args = _CLI._parse()
|
|
args = _CLI._parse()
|
|
if args.version:
|
|
if args.version:
|
|
print(f"Taipy {_get_version()}") # noqa: T201
|
|
print(f"Taipy {_get_version()}") # noqa: T201
|