Usually the path separator is ; not ,

Not sure if that is the potential problem here or not.
I've stopped using the Maya.env file, and instead do any environment 
variable setup in a maya module definition file.
Some links:
http://docs.autodesk.com/MAYAUL/2013/ENU/Maya-API-Documentation/index.html?url=files/GUID-9E096E39-AD0D-4E40-9B2A-9127A2CAD54B.htm,topicNumber=d30e30995
http://around-the-corner.typepad.com/adn/2012/07/distributing-files-on-maya-maya-modules.html
http://techartsurvival.blogspot.com/2014/01/mayas-mildy-magical-modules.html

On Tuesday, September 20, 2016 at 3:22:00 PM UTC-5, smann wrote:
>
> Has  anyone been able to get the maya.env to add to an existing PYTHONPATH 
> ? 
>
> adding the MAYA_SCRIPT_PATH  is as easy as 
>
> MAYA_SCRIPT_PATH = %MAYA_SCRIPT_PATH%, c:/myWwnDir
>
> but doing the same with PYTHONPATH doesn't appear to be working. 
>
> PYTHONPATH = %PYTHONPATH% , c/myOwnDir/
>
> ( does not add to the PythonPath) 
>
>  I can certainly go and write some os.path.append  statements. but If 
> possible I'd like to be to keep it in the MAYA.env and easily distributed.
>
> thanks
>
> -=s
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/3719af33-044f-49d0-8120-574466b3566d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to