From d69e05fc0a9f921442e93556e7db7e8ed4db4f41 Mon Sep 17 00:00:00 2001 From: GeorgiosEfstathiadis Date: Thu, 12 Dec 2024 14:25:38 -0500 Subject: [PATCH 1/2] openwillis_test -> openwillis --- openwillis-face/setup.py | 2 +- openwillis-gps/setup.py | 2 +- openwillis-speech/setup.py | 2 +- openwillis-transcribe/setup.py | 2 +- openwillis-voice/setup.py | 2 +- openwillis/setup.py | 12 ++++++------ 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/openwillis-face/setup.py b/openwillis-face/setup.py index 389a206..de3039a 100644 --- a/openwillis-face/setup.py +++ b/openwillis-face/setup.py @@ -4,7 +4,7 @@ install_requires = fp.read() setup( - name='openwillis_test-face', + name='openwillis-face', version='1.0.0', description='digital health measurement', long_description_content_type="text/markdown", diff --git a/openwillis-gps/setup.py b/openwillis-gps/setup.py index 30ef3a8..d7deec6 100644 --- a/openwillis-gps/setup.py +++ b/openwillis-gps/setup.py @@ -4,7 +4,7 @@ install_requires = fp.read() setup( - name='openwillis_test-gps', + name='openwillis-gps', version='1.0.0', description='digital health measurement', long_description_content_type="text/markdown", diff --git a/openwillis-speech/setup.py b/openwillis-speech/setup.py index 637e694..c46c421 100644 --- a/openwillis-speech/setup.py +++ b/openwillis-speech/setup.py @@ -4,7 +4,7 @@ install_requires = fp.read() setup( - name='openwillis_test-speech', + name='openwillis-speech', version='1.0.0', description='digital health measurement', long_description_content_type="text/markdown", diff --git a/openwillis-transcribe/setup.py b/openwillis-transcribe/setup.py index ce1bfd3..82a59c9 100644 --- a/openwillis-transcribe/setup.py +++ b/openwillis-transcribe/setup.py @@ -4,7 +4,7 @@ install_requires = fp.read() setup( - name='openwillis_test-transcribe', + name='openwillis-transcribe', version='1.0.0', description='digital health measurement', long_description_content_type="text/markdown", diff --git a/openwillis-voice/setup.py b/openwillis-voice/setup.py index b74041e..1bce06f 100644 --- a/openwillis-voice/setup.py +++ b/openwillis-voice/setup.py @@ -4,7 +4,7 @@ install_requires = fp.read() setup( - name='openwillis_test-voice', + name='openwillis-voice', version='1.0.0', description='digital health measurement', long_description_content_type="text/markdown", diff --git a/openwillis/setup.py b/openwillis/setup.py index d4c8bf8..d8a9cfd 100644 --- a/openwillis/setup.py +++ b/openwillis/setup.py @@ -5,7 +5,7 @@ long_description = fh.read() setup( - name='openwillis_test', + name='openwillis', version='3.0.0', description='digital health measurement', long_description=long_description, @@ -18,10 +18,10 @@ author_email='admin@bklynhlth.com', license='Apache', install_requires=[ - 'openwillis_test-voice==1.0.0', - 'openwillis_test-transcribe==1.0.0', - 'openwillis_test-gps==1.0.0', - 'openwillis_test-speech==1.0.0', - 'openwillis_test-face==1.0.0', + 'openwillis-voice==1.0.0', + 'openwillis-transcribe==1.0.0', + 'openwillis-gps==1.0.0', + 'openwillis-speech==1.0.0', + 'openwillis-face==1.0.0', ], ) \ No newline at end of file From 9d332492f0009284a6d29adeab589a7c5594d943 Mon Sep 17 00:00:00 2001 From: GeorgiosEfstathiadis Date: Thu, 12 Dec 2024 14:28:01 -0500 Subject: [PATCH 2/2] sequential publishing of packages --- .github/workflows/python-publish.yml | 111 ++++----------------------- 1 file changed, 13 insertions(+), 98 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 2081761..e3bdd59 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -6,7 +6,7 @@ on: - main jobs: - build-and-publish-openwillis: + build-and-publish: runs-on: ubuntu-latest steps: @@ -23,160 +23,75 @@ jobs: python -m pip install --upgrade pip pip install build twine - - name: Build package + - name: Build package openwillis run: | cp README.md openwillis/ cd openwillis python -m build - - name: Publish package + - name: Publish package openwillis env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python -m twine upload openwillis/dist/* - build-and-publish-openwillis-face: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10.12' # Specify the Python version you want to use - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build twine - - - name: Build package + - name: Build package openwillis-face run: | cd openwillis-face python -m build - - name: Publish package + - name: Publish package openwillis-face env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python -m twine upload openwillis-face/dist/* - build-and-publish-openwillis-gps: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10.12' # Specify the Python version you want to use - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build twine - - - name: Build package + - name: Build package openwillis-gps run: | cd openwillis-gps python -m build - - name: Publish package + - name: Publish package openwillis-gps env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python -m twine upload openwillis-gps/dist/* - build-and-publish-openwillis-speech: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10.12' # Specify the Python version you want to use - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build twine - - - name: Build package + - name: Build package openwillis-speech run: | cd openwillis-speech python -m build - - name: Publish package + - name: Publish package openwillis-speech env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python -m twine upload openwillis-speech/dist/* - build-and-publish-openwillis-transcribe: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10.12' # Specify the Python version you want to use - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build twine - - - name: Build package + - name: Build package openwillis-transcribe run: | cp -r commons/ openwillis-transcribe/src/openwillis/transcribe/commons/ cd openwillis-transcribe python -m build - - name: Publish package + - name: Publish package openwillis-transcribe env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python -m twine upload openwillis-transcribe/dist/* - build-and-publish-openwillis-voice: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10.12' # Specify the Python version you want to use - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build twine - - - name: Build package + - name: Build package openwillis-voice run: | cp -r commons/ openwillis-voice/src/openwillis/voice/commons/ cd openwillis-voice python -m build - - name: Publish package + - name: Publish package openwillis-voice env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}