Initial commit of Arduino libraries
This commit is contained in:
18
FastLED/install
Normal file
18
FastLED/install
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
uv venv --python 3.11
|
||||
uv pip install . --refresh-package fastled
|
||||
# This is needed to force the installation to finalize.
|
||||
uv run python -c "import os; _ = os.getcwd()"
|
||||
set +e
|
||||
|
||||
# if ./activate exists, remove it
|
||||
if [ -f activate ]; then
|
||||
rm activate
|
||||
fi
|
||||
# symlink activate to .venv/bin/activate on linux/mac and .venv/Scripts/activate on windows
|
||||
if [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "darwin"* ]]; then
|
||||
ln -s .venv/bin/activate activate
|
||||
else
|
||||
ln -s .venv/Scripts/activate activate
|
||||
fi
|
||||
Reference in New Issue
Block a user