From 99109f23b47c8ab4abb5a4e8737e9c40db3bf1dd Mon Sep 17 00:00:00 2001 From: Daniel Winkler Date: Thu, 28 Aug 2025 23:25:41 +1000 Subject: [PATCH] better python settings --- templates/rde/flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/rde/flake.nix b/templates/rde/flake.nix index 480faa1..53ed026 100644 --- a/templates/rde/flake.nix +++ b/templates/rde/flake.nix @@ -96,7 +96,7 @@ if [[ ! -f "pyproject.toml" ]]; then echo "🐍 Initializing UV project..." uv init - echo "📦 Adding ipython and marimo..." + echo "📦 Adding IPython and Marimo..." uv add ipython uv add marimo echo "--------------------------------------------------------------------------" @@ -106,6 +106,7 @@ else echo "--------------------------------------------------------------------------" echo "🔄 Existing Python project detected." + echo "📦 Ensuring IPython and Marimo are installed..." uv add ipython uv add marimo echo "Run '${config.defaultPackageName}-updateDeps' to update dependencies." @@ -413,7 +414,7 @@ if [[ ! -f "pyproject.toml" ]]; then echo "🐍 Initializing UV project..." uv init - echo "📦 Adding ipython..." + echo "📦 Adding IPython..." uv add ipython echo "--------------------------------------------------------------------------" echo "✅ Python project initialized!" @@ -422,6 +423,8 @@ else echo "--------------------------------------------------------------------------" echo "🔄 Syncing existing project..." + echo "📦 Ensuring IPython is installed..." + uv add ipython uv sync echo "🐍 Launching IPython..." echo "--------------------------------------------------------------------------"