16 lines
539 B
Python
Executable File
16 lines
539 B
Python
Executable File
#!/usr/bin/env python3
|
|
import os
|
|
import pathlib
|
|
import sys
|
|
|
|
# Said before the first import of the setup's code, which an older Python cannot read.
|
|
if sys.version_info < (3, 14):
|
|
sys.exit(f"claude-release needs Python 3.14 or later as python3 on PATH; it found Python {sys.version.split()[0]}")
|
|
|
|
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))
|
|
|
|
from claude_release import main
|
|
from loop_effects import effects
|
|
|
|
sys.exit(main.main(sys.argv[1:], pathlib.Path.cwd(), effects.system_effects(pathlib.Path.home(), os.environ)))
|