We (Digimax Inc.) start to transfer our deployed python modules from a 
position indicated by envar, *PYTHONPATH*, to using *virtualenv* way. That 
is, for each proprietary python module/package, it is deployed by utilizing 
*setuptools/distribute/...* We made a virtualenv such that we can then just 
use *pip* to do deployment.

Everything went well until we tried to put the following code snippets for 
initializing *virtualenv* into *userSetup.py*.

# initialize the virtualenv
> activate_this = '//3dnfs/shows/dgTools/python/%s_%s.%s/%s/activate_this.py'
> activate_this = activate_this % (os.name, sys.version_info[0], 
> sys.version_info[1], (os.name=='nt' and ['Scripts'] or ['bin'])[0])
> execfile(activate_this, dict(__file__=activate_this))
> del activate_this


Those snippets just made Maya 2011 (Windows, 64bits) hang there in splash 
window, and the CPU load is quiet low (around 4%). Any suggestions/ideas?

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to