From 6b77ad6bb9c80af42f453376d67ec1114328912e Mon Sep 17 00:00:00 2001 From: skiller Date: Thu, 29 Jun 2023 07:44:14 +0300 Subject: [PATCH] Add PYBUILD_SNAKE to let python from venv and install to venv --- dhpython/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhpython/interpreter.py b/dhpython/interpreter.py index 021e847..d6204c7 100644 --- a/dhpython/interpreter.py +++ b/dhpython/interpreter.py @@ -72,7 +72,7 @@ class Interpreter: :type impl: str :type options: tuple """ - path = '/usr/bin/' + path = os.environ['PYBUILD_SNAKE'] if 'PYBUILD_SNAKE' in os.environ else '/usr/bin/' name = 'python' version = None debug = False