We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 732fd3b commit 5e437eeCopy full SHA for 5e437ee
1 file changed
dbzero/build_package.sh
@@ -23,14 +23,14 @@ cp LICENSE .build/LICENSE
23
cp README.md .build/README.md
24
cd .build
25
python3 setup.py sdist
26
-
+install "$(ls dbzero_package/dist/*.whl | sort | tail -n 1)" --break-system-packages
27
# Get the current Python3 version
28
PYTHON3_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.minor}")')
29
if [ "${INSTALL}" ] ; then
30
if [ "$PYTHON3_VERSION" -ge 11 ]; then
31
- pip3 install ./dist/dbzero-0.1.0.tar.gz --break-system-packages
+ pip3 install "$(ls ./dist/*.tar.gz | sort | tail -n 1)" --break-system-packages
32
else
33
- pip3 install ./dist/dbzero-0.1.0.tar.gz
+ pip3 install "$(ls ./dist/*.tar.gz | sort | tail -n 1)"
34
fi
35
36
0 commit comments