Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
MB_ML_VER: 2014
TRAVIS_BUILD_DIR: ${{ github.workspace }}
CONFIG_PATH: travis_config.sh
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20230117
DOCKER_IMAGE: invian/opencv-gst-baseline:latest
USE_CCACHE: 0
UNICODE_WIDTH: 32
PLAT: x86_64
Expand Down Expand Up @@ -197,4 +197,4 @@ jobs:
- name: Upload all wheels
run: |
python -m pip install twine
python -m twine upload --repository testpypi -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --skip-existing wheelhouse/opencv_* wheelhouse/opencv-*
TWINE_PASSWORD=${{ secrets.PYPI_PASSWORD }} TWINE_USERNAME=${{ secrets.PYPI_USERNAME }} python -m twine upload --repository-url ${{ secrets.PYPI_REPOSITORY }} --skip-existing wheelhouse/opencv_* wheelhouse/opencv-*
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ def main():
# https://stackoverflow.com/questions/1405913/python-32bit-or-64bit-mode
is64 = sys.maxsize > 2 ** 32

package_name = "opencv-python-iv"
package_name = "opencv-python-gst"

if build_contrib and not build_headless:
package_name = "opencv-contrib-python-iv"
package_name = "opencv-contrib-python-gst"

if build_contrib and build_headless:
package_name = "opencv-contrib-python-headless-iv"
package_name = "opencv-contrib-python-headless-gst"

if build_headless and not build_contrib:
package_name = "opencv-python-headless-iv"
package_name = "opencv-python-headless-gst"

if build_rolling:
package_name += "-rolling"
Expand Down