It is now possible to specify -Dpython.install_env and choose how python modules are installed.
venv: assume that a virtualenv is active and install to thatsystem: install to the global site-packages of the selected interpreter (the one that the venv module calls --system-site-packages)prefix: preserve existing behaviorauto: autodetect whether to use venv or system