I have been unable to get PyScripter to run a Python session that sets its search path (%PATH%) in a way that will find a set of DLLs required for running my project without setting %PATH% for the whole system (and making it difficult to remember to change it if the project location moves).
Example: Python 2.7.6 x86 installation. Have a set of DLLs under C:\users\me\Documents\ProjX\lib that are required. If I run Python in a command window after setting the PATH env variable, it runs correctly. Setting %PYTHONPATH% does not cause Python to find the DLLs. It requires setting %PATH%.
But I have not found any way to set %PATH% in a project-specific way that PyScripter will pick up and form the appropriate %PATH% for the Python interpreter it invokes when running the project. If I use the built-in global environment variable settings through the Control Panel, everything works (after restarting PyScripter).
Using PyScript 2.5.3, Windows 7.
Is there a way to do this in a reasonably clean, project-specific way that doesn't require changing the global %PATH% variable setting?
Thanks....