about summary refs log tree commit diff
path: root/etc/python-exec/python-exec.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/python-exec/python-exec.conf')
-rw-r--r--etc/python-exec/python-exec.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/etc/python-exec/python-exec.conf b/etc/python-exec/python-exec.conf
new file mode 100644
index 0000000..4a550fd
--- /dev/null
+++ b/etc/python-exec/python-exec.conf
@@ -0,0 +1,28 @@
+#/etc/python-exec/python-exec.conf
+# python-exec global preference configuration
+#
+# This file specifies global Python preference for python-exec. It
+# determines which implementations will be used when wrapped Python
+# scripts or generic Python wrappers (such as /usr/bin/python) are
+# started with no implementation override (EPYTHON).
+#
+# The global configuration can be overriden for each wrapped script
+# in /etc/python-exec/<script-name>.conf. If this override exists,
+# the global configuration is not used at all.
+#
+# The preference file should list Python implementations, one per line,
+# in EPYTHON-format (e.g. python3.5), in order of preference. The most
+# preferred implementation should be listed first. The program will use
+# the most preferred implementation that is supported by it.
+#
+# If none of the listed implementations are supported, python-exec will
+# attempt to use the remaining supported implementations in default
+# order.
+#
+# A specific implementation can be disabled by preceding it with
+# a hyphen (-). In this case, the implementation will never be used.
+# If no other implementation is supported by the program, it will fail
+# to start.
+#
+# Note: this file can be modified by calls to 'eselect python'.
+python3.9

Consider giving Nix/NixOS a try! <3