mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -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
|
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 "--------------------------------------------------------------------------"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue