From 78945fb9832e989453fbabc471d45bb71805eca8 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 5 Nov 2021 01:03:50 -0400 Subject: python module: add option to specify a python environment to install to The default behavior of installing relative to prefix may be unexpected, and is definitely wrong in many cases. Give users control in order to specify that yes, they actually want to install to a venv. This is particularly useful for projects that use meson as a build system for a python module, where *all* files shall be installed into the python site-packages. --- docs/markdown/Builtin-options.md | 20 ++++++++++++++++---- docs/markdown/snippets/python_module_env.md | 9 +++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 docs/markdown/snippets/python_module_env.md (limited to 'docs') diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md index db3c3e8..c8e98dd 100644 --- a/docs/markdown/Builtin-options.md +++ b/docs/markdown/Builtin-options.md @@ -271,10 +271,11 @@ name with the module name: `-D.