Commit ad6610b8 authored by Dominique Barton's avatar Dominique Barton 🦄
Browse files

DOC: Clarify PyPi server

parent 9b282c2f
Pipeline #7243 passed with stages
in 50 seconds
......@@ -3,9 +3,35 @@ PyPi Server
We're running a `PyPi server <https://pypi.confirm.ch>`_ for our own Python packages.
If you want to upload a Python package, have a look at the shared `pypi-upload CI file <https://git.confirm.ch/confirm/gitlab-ci/-/tree/master/pypi-upload>`_.
.. important::
The PyPi server is deployed via GitLab CI from the `PyPi server project <https://git.confirm.ch/confirm/pypi-server>`_ and is only available from within private networks. To access packages from outside of our networks, read the :ref:`Install PyPi packages` chapter below.
Upload PyPi packages
--------------------
If you want to upload a Python package, have a look at the shared GitLab CI files:
- `pypi-upload <https://git.confirm.ch/confirm/gitlab-ci/-/tree/master/pypi-upload>`_
- `python-package <https://git.confirm.ch/confirm/gitlab-ci/-/tree/master/python-package>`_
.. _Install PyPi packages:
Install PyPi packages
---------------------
If you want to manually install a Python package from our PyPi server, you can usually use this command:
.. code-block:: bash
pip3 install -i https://pypi.confirm.ch -U package-name
However and most likely, packages will usually automatically be installed via a :ref:`Makefile` target, such as ``make develop`` or ``make install``.
.. important::
The PyPi server is deployed via GitLab CI from the `PyPi server project <https://git.confirm.ch/confirm/pypi-server>`_ and is only available from within private networks.
In case you need to access the PyPi packages if you're not in our networks, use the `authenticated public PyPi server <https://pypi-public.confirm.ch>`_.
In case you're not within our private networks, you can also use the `authenticated public PyPi server <https://pypi-public.confirm.ch>`_ instead:
.. code-block:: bash
pip3 install -i https://pypi-public.confirm.ch package-name
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment