better python settings

This commit is contained in:
Daniel Winkler 2025-08-28 23:25:41 +10:00
commit 99109f23b4

View file

@ -96,7 +96,7 @@
if [[ ! -f "pyproject.toml" ]]; then if [[ ! -f "pyproject.toml" ]]; then
echo "🐍 Initializing UV project..." echo "🐍 Initializing UV project..."
uv init uv init
echo "📦 Adding ipython and marimo..." echo "📦 Adding IPython and Marimo..."
uv add ipython uv add ipython
uv add marimo uv add marimo
echo "--------------------------------------------------------------------------" echo "--------------------------------------------------------------------------"
@ -106,6 +106,7 @@
else else
echo "--------------------------------------------------------------------------" echo "--------------------------------------------------------------------------"
echo "🔄 Existing Python project detected." echo "🔄 Existing Python project detected."
echo "📦 Ensuring IPython and Marimo are installed..."
uv add ipython uv add ipython
uv add marimo uv add marimo
echo "Run '${config.defaultPackageName}-updateDeps' to update dependencies." echo "Run '${config.defaultPackageName}-updateDeps' to update dependencies."
@ -413,7 +414,7 @@
if [[ ! -f "pyproject.toml" ]]; then if [[ ! -f "pyproject.toml" ]]; then
echo "🐍 Initializing UV project..." echo "🐍 Initializing UV project..."
uv init uv init
echo "📦 Adding ipython..." echo "📦 Adding IPython..."
uv add ipython uv add ipython
echo "--------------------------------------------------------------------------" echo "--------------------------------------------------------------------------"
echo " Python project initialized!" echo " Python project initialized!"
@ -422,6 +423,8 @@
else else
echo "--------------------------------------------------------------------------" echo "--------------------------------------------------------------------------"
echo "🔄 Syncing existing project..." echo "🔄 Syncing existing project..."
echo "📦 Ensuring IPython is installed..."
uv add ipython
uv sync uv sync
echo "🐍 Launching IPython..." echo "🐍 Launching IPython..."
echo "--------------------------------------------------------------------------" echo "--------------------------------------------------------------------------"