Python scripts use PYTHONPATH, not MAYA_SCRIPT_PATH On Sun, Aug 7, 2011 at 2:06 PM, Renato Polimeno <[email protected]>wrote:
> Hey guys, I´m stuck in a problem.. > > A common project directory inside a server is the main source folder for me > and a bunch of artists... I´ve created a script folder plus a .env with > custom variables: > screenshot.jpg<http://renatopolimeno.com/wp-content/uploads/questionENV_py_script_files_into_server_folder_works_when_import_using_maya_within_any_local_machine.jpg> > > I was in hope that each Maya (local machines) would source and load > all custom python scripts automaticly but unfortunately it didn´t work.. ie. > > import customScript > "ImportError: No module named customScript.py " > > What am I missing? > How would you guys go about it? > What are the mainly steps to complete that task? > > Thanks in advance, > > ____________________________ > -> Renato Polimeno > +55 11 7539 3615 > renatopolimeno.com <http://www.renatopolimeno.com> > > <http://www.renatopolimeno.com/>facebook.com/renato.polimeno<http://www.facebook.com/renato.polimeno> > @renatopolimeno <http://www.twitter.com/renatopolimeno> > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
