File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ endif()
2020
2121# Pybindings project
2222set (TARGET_NAME depthai)
23- project (${TARGET_NAME} VERSION "0 " ) # revision of bindings [depthai-core].[rev]
23+ project (${TARGET_NAME} VERSION "1 " ) # revision of bindings [depthai-core].[rev]
2424
2525# Add depthai-cpp dependency
2626add_subdirectory (depthai-core EXCLUDE_FROM_ALL )
Original file line number Diff line number Diff line change 11#! /bin/bash
22python3 -m pip install -U twine
33
4- echo " [TEST] PYPI_SERVER: $PYPI_SERVER ; PYPI_USER: $PYPI_USER ; PYPI_PASSWORD: $PYPI_PASSWORD "
4+ # Uploads prebuilt binary distribution
55for file in wheelhouse/audited/* .whl; do
6- echo " Uploading $file "
7- python3 -m twine upload --repository-url " $PYPI_SERVER " --username $PYPI_USER --password $PYPI_PASSWORD $file
6+ echo " Uploading $file "
7+ python3 -m twine upload --repository-url " $PYPI_SERVER " --username " $PYPI_USER " --password " $PYPI_PASSWORD " " $file "
8+ done
9+
10+ # Uploads zip source distribution
11+ for file in wheelhouse/audited/* .zip; do
12+ echo " Uploading $file "
13+ python3 -m twine upload --repository-url " $PYPI_SERVER " --username " $PYPI_USER " --password " $PYPI_PASSWORD " " $file "
14+ done
15+
16+ # Uploads tar.bz2 source distribution
17+ for file in wheelhouse/audited/* .tar.bz2; do
18+ echo " Uploading $file "
19+ python3 -m twine upload --repository-url " $PYPI_SERVER " --username " $PYPI_USER " --password " $PYPI_PASSWORD " " $file "
820done
You can’t perform that action at this time.
0 commit comments