File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 33edge_impulse_linux.egg-info
44build
55* .jpg
6+ .DS_Store
7+ .venv /
Original file line number Diff line number Diff line change 33
44SCRIPTPATH=" $( cd " $( dirname " $0 " ) " ; pwd -P ) "
55
6+ cd $SCRIPTPATH
7+
8+ if [ ! -d " .venv" ]; then
9+ if [ -z " $SB_API_KEY " ]; then
10+ echo " Missing SB_API_KEY, set to a StableBuild API Key (required to install pinned build dependencies)"
11+ exit 1
12+ fi
13+
14+ python3.9 -m venv .venv
15+ source .venv/bin/activate
16+
17+ pip3 install \
18+ -i https://$SB_API_KEY .pypimirror.stablebuild.com/2023-01-30/ \
19+ twine
20+ else
21+ source .venv/bin/activate
22+ fi
23+
624rm -rf build/
725rm -rf dist/
8- python3 setup.py sdist
9- twine upload dist/*
26+ .venv/bin/python3 setup.py sdist
27+ .venv/bin/twine upload dist/*
28+
29+ deactivate
You can’t perform that action at this time.
0 commit comments