Kinjal, did you reply to the wrong thread? Or are you asking something about 
combining your texture question with this virtualenv question? You will need to 
explain a bit more. 



On Apr 3, 2012, at 1:40 AM, kinjal gajera <techki...@gmail.com> wrote:

> Hi 
> 
> Normally we opens maya file and run that script that generates used texture 
> in UI(if make) or in script editor.....
> I am looking for any of ref... by which i start using it,,,,,
> 
> On Tue, Apr 3, 2012 at 2:27 AM, Justin Israel <justinisr...@gmail.com> wrote:
> Though I am not sure exactly why, it is this line in the activation script 
> that is hanging up maya: 
> site.addsitedir(site_packages)
> 
> I have not tried using a virtualenv with maya before. Its a lot easier to 
> just update the PYTHONPATH from the Maya.env, or, update the sys.path from 
> the userSetup.py
> 
> At our studio we just use git repos in a facility network location, and then 
> point our userSetup.py files at that location. Using pip locally just for 
> distributing your maya modules seems like overkill to me, but thats just my 
> opinion and I could be completely wrong. With git, you can pull your updates 
> at any time, tag, branch, and have a great deal of control over the package 
> location. 
> 
> Do you have some specialized need that makes a local setuptools approach more 
> appealing than a repo?
> 
> 
> 
> On Mon, Apr 2, 2012 at 12:51 AM, Drake <drake.g...@gmail.com> wrote:
> 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
> 
> -- 
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: 
> http://groups.google.com/group/python_inside_maya/subscribe
> 
> 
> 
> -- 
> RCVFX (Mumbai)
> -- 
> 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

Reply via email to