first commit
This commit is contained in:
commit
5893b00dd2
1669 changed files with 1982740 additions and 0 deletions
18
libraries/FastLED/install
Executable file
18
libraries/FastLED/install
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue