Super happy the inclusion of this feature and having a way of mounting environments during startup without having to rely on hacks.
The way it is currently setup is just very geared to the EnvManager and closes out the use of other tools.
I have a venv inside of my project folder called .venv
It is not possible for me to define the path to that env as the EnvManagerHelper as appending unrequested values to the pathing.
I tried the following configuration:
{
"active": true,
"mode": "Python vEnv",
"envName": ".venv",
"installPath": ".",
"pythonVersion": "3.11",
"pythonVersionNoDot": "311"
}
This results in the following output of the texport.
2025-10-09 15:00:00,568 - TDAppLogger.TDPyEnvManagerHelper - ERROR - Python executable not found at .venv_vEnv\Scripts\python.exe.
2025-10-09 15:00:00,570 - TDAppLogger.TDPyEnvManagerHelper - ERROR - Environment .venv_vEnv could not be linked. Context is: {'active': False, 'mode': 'Python vEnv', 'envName': '.venv', 'installPath': 'C:\\Users\\Wieland PlusPlusOne\\Documents\\GitHub\\PlusPlusOne\\TD_UvManagedPrefab', 'envPath': 'C:\\Users\\Wieland PlusPlusOne\\Documents\\GitHub\\PlusPlusOne\\TD_UvManagedPrefab\\.venv_vEnv', 'executablePath': 'C:\\Users\\Wieland PlusPlusOne\\Documents\\GitHub\\PlusPlusOne\\TD_UvManagedPrefab\\.venv_vEnv\\Scripts\\python.exe', 'osPath': [], 'sysPath': [], 'pythonVersion': '3.11', 'pythonVersionNoDot': '311'}
3.11.10 (heads/3.11-Derivative-dirty:e60cd070d8, Oct 10 2024, 15:55:11) [MSC v.1929 64 bit (AMD64)]
It append _venv to the given installpath without a way of changing this behaviour.
The second feature I would like to request is a way of adding an arbitrary number libs, as sometimes I also like to add other subsystems and be able to import them not being part of the specified environment.
My current setup uses a file like this to add arbitrary folder to the sys.path
# Lines starting with # will be ignored as comments.
# ${ gets converted in to ENV-Variable. }
${UV_PROJECT_ENVIRONMENT}/Lib/site-packages
project-packages
.venv/Lib/site-packages
Which works like a charm and allows for a pretty flexible and unopinionated way of adding site-packages.