File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Re-install the package. By running './reinstall.sh'
4+ #
5+ # Note that llavaction uses the build
6+ # system specified in
7+ # PEP517 https://peps.python.org/pep-0517/ and
8+ # PEP518 https://peps.python.org/pep-0518/
9+ # and hence there is no setup.py file.
10+
11+ set -e # abort on error
12+
13+ pip uninstall -y llavaction
14+
15+ # Get version
16+ VERSION=0.0.1
17+ echo " Upgrading to LLaVAction v${VERSION} "
18+
19+ # Upgrade the build system (PEP517/518 compatible)
20+ python3 -m pip install virtualenv
21+ python3 -m pip install --upgrade build
22+ python3 -m build --sdist --wheel .
23+
24+ # Reinstall the package with most recent version
25+ pip install --upgrade --no-cache-dir " dist/llavaction-${VERSION} -py3-none-any.whl"
You can’t perform that action at this time.
0 commit comments