I am working on a Python package that has a mixture of command line tools and ArcToolbox tools. For Python development it is really useful to use VirtualEnv, especially when working with installers. Is there a way to have either ArcMap or ArcCatalog recognize a current VirtualEnv session in Python, so that when a custom tools is executed it is using the VirtualEnv Python paths and packages instead of the default Python paths and packages at c:\Python26\ArcGIS10.0?
That's not built into the application, but I assume running the batch file that sets up the virtualenv in a
Edit: you will need to explicitly call the activate_this script from within the Python window in desktop apps to get this to work. If I have a VirtualEnv in