File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 3.12
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ echo ""
5151SCRIPT_URL=" https://raw.githubusercontent.com/alex-feel/claude-code-toolbox/main/scripts/install_claude.py"
5252
5353# Download and run the Python script with uv
54- # uv will handle Python installation automatically
55- if curl -fsSL " $SCRIPT_URL " | uv run --python ' >= 3.12' -; then
54+ # uv will handle Python 3.12 installation automatically
55+ if curl -fsSL " $SCRIPT_URL " | uv run --python 3.12 -; then
5656 exit 0
5757else
5858 echo -e " ${RED} [FAIL]${NC} Installation failed"
Original file line number Diff line number Diff line change @@ -79,16 +79,16 @@ elif [ -n "${CLAUDE_ENV_AUTH:-}" ]; then
7979fi
8080
8181# Download and run the Python script with uv
82- # uv will handle Python installation automatically
82+ # uv will handle Python 3.12 installation automatically
8383if [ -n " $AUTH_ARGS " ]; then
84- if curl -fsSL " $SCRIPT_URL " | uv run --python ' >= 3.12' - " $CONFIG " $AUTH_ARGS ; then
84+ if curl -fsSL " $SCRIPT_URL " | uv run --python 3.12 - " $CONFIG " $AUTH_ARGS ; then
8585 exit 0
8686 else
8787 echo -e " ${RED} [FAIL]${NC} Setup failed"
8888 exit 1
8989 fi
9090else
91- if curl -fsSL " $SCRIPT_URL " | uv run --python ' >= 3.12' - " $CONFIG " ; then
91+ if curl -fsSL " $SCRIPT_URL " | uv run --python 3.12 - " $CONFIG " ; then
9292 exit 0
9393 else
9494 echo -e " ${RED} [FAIL]${NC} Setup failed"
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ echo ""
5151SCRIPT_URL=" https://raw.githubusercontent.com/alex-feel/claude-code-toolbox/main/scripts/install_claude.py"
5252
5353# Download and run the Python script with uv
54- # uv will handle Python installation automatically
55- if curl -fsSL " $SCRIPT_URL " | uv run --python ' >= 3.12' -; then
54+ # uv will handle Python 3.12 installation automatically
55+ if curl -fsSL " $SCRIPT_URL " | uv run --python 3.12 -; then
5656 exit 0
5757else
5858 echo -e " ${RED} [FAIL]${NC} Installation failed"
Original file line number Diff line number Diff line change @@ -79,16 +79,16 @@ elif [ -n "${CLAUDE_ENV_AUTH:-}" ]; then
7979fi
8080
8181# Download and run the Python script with uv
82- # uv will handle Python installation automatically
82+ # uv will handle Python 3.12 installation automatically
8383if [ -n " $AUTH_ARGS " ]; then
84- if curl -fsSL " $SCRIPT_URL " | uv run --python ' >= 3.12' - " $CONFIG " $AUTH_ARGS ; then
84+ if curl -fsSL " $SCRIPT_URL " | uv run --python 3.12 - " $CONFIG " $AUTH_ARGS ; then
8585 exit 0
8686 else
8787 echo -e " ${RED} [FAIL]${NC} Setup failed"
8888 exit 1
8989 fi
9090else
91- if curl -fsSL " $SCRIPT_URL " | uv run --python ' >= 3.12' - " $CONFIG " ; then
91+ if curl -fsSL " $SCRIPT_URL " | uv run --python 3.12 - " $CONFIG " ; then
9292 exit 0
9393 else
9494 echo -e " ${RED} [FAIL]${NC} Setup failed"
Original file line number Diff line number Diff line change 5151 $tempScript = [System.IO.Path ]::GetTempFileName() + " .py"
5252 Invoke-WebRequest - Uri $scriptUrl - OutFile $tempScript - UseBasicParsing
5353
54- # Run with uv (it will handle Python installation automatically)
55- & uv run -- python ' >= 3.12' $tempScript
54+ # Run with uv (it will handle Python 3.12 installation automatically)
55+ & uv run -- python 3.12 $tempScript
5656 $exitCode = $LASTEXITCODE
5757
5858 # Clean up
Original file line number Diff line number Diff line change @@ -90,11 +90,11 @@ try {
9090 $authArgs = @ (' --auth' , $env: CLAUDE_ENV_AUTH )
9191 }
9292
93- # Run with uv (it will handle Python installation automatically)
93+ # Run with uv (it will handle Python 3.12 installation automatically)
9494 if ($authArgs.Count -gt 0 ) {
95- & uv run -- python ' >= 3.12' $tempScript $config @authArgs
95+ & uv run -- python 3.12 $tempScript $config @authArgs
9696 } else {
97- & uv run -- python ' >= 3.12' $tempScript $config
97+ & uv run -- python 3.12 $tempScript $config
9898 }
9999 $exitCode = $LASTEXITCODE
100100
You can’t perform that action at this time.
0 commit comments