File tree 2 files changed +18
-11
lines changed
2 files changed +18
-11
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd) "
5
+ cd $DIR
6
+
7
+ # TODO: why doesn't uv do this?
8
+ export PYTHONPATH=$DIR
9
+
10
+ # *** dependencies install ***
11
+ if ! command -v uv & > /dev/null; then
12
+ echo " 'uv' is not installed. Installing 'uv'..."
13
+ curl -LsSf https://astral.sh/uv/install.sh | sh
14
+ fi
15
+
16
+ uv sync --all-extras
17
+ source .venv/bin/activate
Original file line number Diff line number Diff line change 4
4
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null && pwd) "
5
5
cd $DIR
6
6
7
- # TODO: why doesn't uv do this?
8
- export PYTHONPATH=$DIR
9
-
10
- # *** dependencies install ***
11
- if ! command -v uv & > /dev/null; then
12
- echo " 'uv' is not installed. Installing 'uv'..."
13
- curl -LsSf https://astral.sh/uv/install.sh | sh
14
- fi
15
-
16
- uv sync --all-extras
17
- source .venv/bin/activate
7
+ source ./setup.sh
18
8
19
9
# *** build ***
20
10
scons -j8
You can’t perform that action at this time.
0 commit comments