aports/main/python3/externally-managed
psykose 6c2a300f67 main/python3: mark python package dir as externally-managed again
now that latest ubuntu/debian forbid this too, and pipx exists to easily
install things into a venv, we should do the same.

reverts f57181f699
reinstates 40d10fdde2
2023-07-22 01:00:27 +00:00

22 lines
647 B
Text

[externally-managed]
Error=
The system-wide python installation should be maintained using the system
package manager (apk) only.
If the package in question is not packaged already (and hence installable via
"apk add py3-somepackage"), please consider installing it inside a virtual
environment, e.g.:
python3 -m venv /path/to/venv
. /path/to/venv/bin/activate
pip install mypackage
To exit the virtual environment, run:
deactivate
The virtual environment is not deleted, and can be re-entered by re-sourcing
the activate file.
To automatically manage virtual environments, consider using pipx (from the
pipx package).