parent
524b8a5e6c
commit
28aa8ef4f0
@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Python 3.14t Free-Threaded Setup Script
|
||||||
|
# This script automates the installation of Python 3.14 free-threaded build with uv
|
||||||
|
|
||||||
|
set -e # Exit on error
|
||||||
|
|
||||||
|
# Check if uv is installed
|
||||||
|
if ! command -v uv &> /dev/null; then
|
||||||
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
uv self update
|
||||||
|
|
||||||
|
uv python install 3.14t
|
||||||
|
|
||||||
|
uv venv --python 3.14t
|
||||||
|
|
||||||
|
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
uv pip install swarms
|
||||||
|
|
||||||
|
echo "To run Python 3.14t directly without activating:"
|
||||||
|
echo " uvx python@3.14t your_script.py"
|
||||||
|
echo ""
|
||||||
|
echo "=========================================="
|
||||||
Loading…
Reference in new issue