14 lines
352 B
Python
14 lines
352 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
# Add the package root to sys.path so imports resolve correctly when run with
|
|
# `python -m alteryx_runner` from the project root.
|
|
_pkg_dir = Path(__file__).parent # alteryx_runner/
|
|
if str(_pkg_dir) not in sys.path:
|
|
sys.path.insert(0, str(_pkg_dir))
|
|
|
|
from cli import main
|
|
|
|
if __name__ == "__main__":
|
|
main()
|