Skip to content

Commit 062777b

Browse files
authored
Forcing to use the new ansys-api-geometry (#189)
1 parent 059d775 commit 062777b

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ Then, you can simply execute:
9797
9898
.. caution::
9999

100-
PyGeometry is currently hosted in a private PyPi repository. You must provide the index
101-
URL to the private PyPi repository:
100+
PyGeometry is currently hosted in a private PyPI repository. You must provide the index
101+
URL to the private PyPI repository:
102102

103103
* Index URL: ``https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/``
104104

105-
If you don't have access to this package registry, email `pyansys.support@ansys.com <mailto:pyansys.support@ansys.com>`_
106-
to request access. We will provide you a read-only token to be inserted in ``${PRIVATE_PYPI_ACCESS_TOKEN}``.
105+
If access to this package registry is needed, email `pyansys.support@ansys.com <mailto:pyansys.support@ansys.com>`_
106+
to request access. The PyAnsys team can provide you a read-only token to be inserted in ``${PRIVATE_PYPI_ACCESS_TOKEN}``.
107107
Once you have it, run the following command:
108108

109109
.. code:: bash

doc/source/getting_started/installation.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ Then, you can simply execute:
3131
3232
poetry run python -m pip install ansys-geometry-core
3333
34+
.. caution::
35+
36+
PyGeometry is currently hosted in a private PyPI repository. You must provide the index
37+
URL to the private PyPI repository:
38+
39+
* Index URL: ``https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/``
40+
41+
If access to this package registry is needed, email `pyansys.support@ansys.com <mailto:pyansys.support@ansys.com>`_
42+
to request access. The PyAnsys team can provide you a read-only token to be inserted in ``${PRIVATE_PYPI_ACCESS_TOKEN}``.
43+
Once you have it, run the following command:
44+
45+
.. code:: bash
46+
47+
pip install ansys-geometry-core --index-url=https://${PRIVATE_PYPI_ACCESS_TOKEN}@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/
48+
3449
Alternatively, install the latest from `PyGeometry`_ GitHub via:
3550

3651
.. code:: bash
@@ -90,4 +105,4 @@ For more details regarding the PyGeometry interface, see :ref:`user guide <ref_u
90105

91106
.. LINKS AND REFERENCES
92107
.. _pip: https://pypi.org/project/pip/
93-
.. _PyGeometry: https://github.com/pyansys/pygeometry
108+
.. _PyGeometry: https://github.com/pyansys/pygeometry

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ secondary = true
3333

3434
[tool.poetry.dependencies]
3535
python = ">=3.7,<4.0"
36-
ansys-api-geometry = {version = "~0.1.dev0", allow-prereleases = true, source = "privatepypi"}
36+
ansys-api-geometry = {version = "==0.1.0", source = "privatepypi"}
3737
google-api-python-client = ">=1.7.11"
3838
googleapis-common-protos = ">=1.52.0"
3939
grpcio = ">=1.35.0"

0 commit comments

Comments
 (0)