Skip to content

Commit 82fa88a

Browse files
MaxJPReyRobPasMuePipKat
authored
Remove reference to Ansys private PyPi. (#612)
Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com>
1 parent fb1be8f commit 82fa88a

File tree

2 files changed

+11
-30
lines changed

2 files changed

+11
-30
lines changed

.github/workflows/ci_cd.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,11 @@ jobs:
165165
path: .cov/html
166166
retention-days: 7
167167

168-
# - name: Upload coverage to Codecov
169-
# uses: codecov/codecov-action@v3
168+
- name: Upload coverage to Codecov
169+
uses: codecov/codecov-action@v3
170+
if: matrix.docker-image == 'windows-latest'
171+
with:
172+
files: .cov/xml
170173

171174
- name: Stop the Geometry service
172175
if: always()
@@ -391,19 +394,12 @@ jobs:
391394
needs: [package, fetch-release-artifacts]
392395
runs-on: ubuntu-latest
393396
steps:
394-
- name: Release to the private PyPI repository
395-
uses: ansys/actions/release-pypi-private@v4
397+
- name: Release to the public PyPI repository
398+
uses: ansys/actions/release-pypi-public@v4
396399
with:
397400
library-name: ${{ env.PACKAGE_NAME }}
398401
twine-username: "__token__"
399-
twine-token: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
400-
401-
# - name: Release to the public PyPI repository
402-
# uses: ansys/actions/release-pypi-public@v4
403-
# with:
404-
# library-name: ${{ env.PACKAGE_NAME }}
405-
# twine-username: "__token__"
406-
# twine-token: ${{ secrets.PYPI_TOKEN }}
402+
twine-token: ${{ secrets.PYPI_TOKEN }}
407403

408404
- name: Release to GitHub
409405
uses: ansys/actions/release-github@v4

README.rst

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -171,20 +171,6 @@ Then, install PyAnsys Geometry with:
171171
172172
python -m pip install ansys-geometry-core
173173
174-
.. caution::
175-
176-
PyAnsys Geometry is currently hosted in a private PyPI repository. You must provide the index
177-
URL to the private PyPI repository:
178-
179-
* Index URL: ``https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/``
180-
181-
If access to this package registry is needed, email `pyansys.core@ansys.com <mailto:pyansys.core@ansys.com>`_
182-
to request access. The PyAnsys team can provide you a read-only token to be inserted in ``${PRIVATE_PYPI_ACCESS_TOKEN}``.
183-
Once you have it, run the following command:
184-
185-
.. code:: bash
186-
187-
pip install ansys-geometry-core --index-url=https://${PRIVATE_PYPI_ACCESS_TOKEN}@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/
188174
189175
Install in developer mode
190176
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -252,10 +238,9 @@ To install PyAnsys Geometry in developer mode, perform these steps:
252238
Install in offline mode
253239
^^^^^^^^^^^^^^^^^^^^^^^
254240

255-
If you lack an internet connection on your installation machine (or you do not have access to the
256-
private Ansys PyPI packages repository), you should install PyAnsys Geometry by downloading the wheelhouse
257-
archive from the `Releases Page <https://github.com/ansys/pyansys-geometry/releases>`_ for your
258-
corresponding machine architecture.
241+
If you lack an internet connection on your installation machine, you should install PyAnsys Geometry
242+
by downloading the wheelhouse archive from the `Releases <https://github.com/ansys/pyansys-geometry/releases>`_
243+
page for your corresponding machine architecture.
259244

260245
Each wheelhouse archive contains all the Python wheels necessary to install PyAnsys Geometry from scratch on Windows,
261246
Linux, and MacOS from Python 3.8 to 3.11. You can install this on an isolated system with a fresh Python

0 commit comments

Comments
 (0)