mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 14:30:59 -05:00
better python settings
This commit is contained in:
parent
11ca7d9ed8
commit
99109f23b4
1 changed files with 5 additions and 2 deletions
|
|
@ -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 "--------------------------------------------------------------------------"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue