First off, I'm going to assume you have a reason for wanting to have the 'old' version of pymel on 2009 (since the latest pymel version still supports 2009)...
The easiest way would probably involve modifying the installation(s) of maya - either by putting the entire pymel package into maya's site-packages, or a .pth file to point to a global location. Other than that, you'll either have to modify userSetup.py files to alter the path, or have some sort of way to set appropriate environment variables for the appropriate version of maya before launching it. - Paul On Thu, Jun 10, 2010 at 9:18 AM, hapgilmore <[email protected]> wrote: > My studio is upgrading to 2011, but will need to continue support 2009 > until everyone has migrated. > > With 2009, we add the path to our python scripts/modules to the > PYTHONPATH env var. > > Now that pymel is part of the maya install, what would be the best way > to prevent the "old" version of pymel from being imported when using > 2011, but forcing 2009 to import the "old" version? > > -- > http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
