Skip to content

Commit a6e3dc6

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/linter-adjustments
# Conflicts: # docs/develop/python-plugins/setup/index.md
2 parents d9fdd00 + 6805893 commit a6e3dc6

File tree

1 file changed

+9
-8
lines changed
  • docs/develop/python-plugins/setup

1 file changed

+9
-8
lines changed

docs/develop/python-plugins/setup/index.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ icon: material/cog-outline
55
tags:
66
- Python
77
---
8+
89
# Setup and Configuration
910

1011
This section describes which backend components are needed on the Build (DataIntegration) server, in order to use python plugins.
@@ -74,24 +75,23 @@ This section describes which backend components are needed on the Build (DataInt
7475
The basic setup allows for installation of packages from the [pypi.org](https://pypi.org/search/?q=%22cmem-plugin-%22) python package index, maintained by the [Python Software Foundation](https://www.python.org/psf-landing/).
7576
In order to change the remote index server, from where you can install python packages, you need to set the following environment variables in the data integration container:
7677

77-
- `PIP_INDEX_URL` - Base URL of the default python package index Base URL. This should point to a repository which is compliant with [PEP 503 (the simple repository API)](https://peps.python.org/pep-0503/). If this variable is not set, the [official Python Package Index](https://pypi.python.org/simple) is used.
78-
- Example Value: `https://pypi.eccenca.com/simple` (the eccenca Python Package Index holds only published Corporate Memory Python Plugins and respective dependencies)
78+
- `UV_DEFAULT_INDEX` - Base URL of the default python package index. This should point to a repository which is compliant with [PEP 503 (the simple repository API)](https://peps.python.org/pep-0503/). If this variable is not set, the [official Python Package Index](https://pypi.python.org/simple) is used.
7979
- Changing this value means, that you can install packages **only** from this repository.
80-
- `PIP_EXTRA_INDEX_URL` - Extra URLs of package indexes to use in addition to the default package index.
80+
- `UV_INDEX` - Extra URLs of package indexes to use in addition to the default package index.
8181
- Example Value: `https://pypi.eccenca.com/simple https://example.org/simple`
8282
- Multiple index URLs have to be given space-separated.
83-
- Changing this values means you can install packages from the given repositories **in addition** to the main index.
83+
- Changing this values means you can install packages from the given repositories **in addition** to the default index.
8484

85-
For individual needs, you can use additional environment variables known by `pip` (`PIP_TRUSTED_HOST`, `PIP_CERT`, ...).
86-
Please have a look at the [pip documentation](https://pip.pypa.io/en/stable/topics/configuration/#environment-variables).
85+
For individual needs, you can use additional environment variables known by `uv` (e.g. `SSL_CERT_FILE`).
86+
Please have a look at the [uv documentation](https://docs.astral.sh/uv/reference/environment/).
8787

8888
### Local Packages only
8989

9090
In cases, where you have limited or disabled network capabilities to the internet, you can disable package retrieval and provide the packages in a local directory.
9191
To do so, you need to set the following environment variables in the data integration container:
9292

93-
- `PIP_NO_INDEX` - set the value as `true` to disable the package retrieval completely.
94-
- `PIP_FIND_LINKS` - set to a container internal directory, where the packages and its dependencies will be provided.
93+
- `UV_OFFLINE` - set the value as `true` to disable the package retrieval completely.
94+
- `UV_FIND_LINKS` - set to a container internal directory, where the packages and its dependencies will be provided.
9595
- Example Value: `/data/downloaded-packages`
9696

9797
This setup will allow installation of packages and its dependencies ONLY from the given directory.
@@ -129,5 +129,6 @@ In addition Build (DataIntegration) needs write access to that folder.
129129
This is tested on Build (DataIntegration) startup.
130130

131131
!!! info
132+
132133
By setting environment variable `PYTHONPATH_FAILURE` (default: `true`) to other values than `true` this behavior can be skipped.
133134
However this might effect the usability of python plugins.

0 commit comments

Comments
 (0)