Question for Windows system. My code is messy trying to get everything 
working with lots of hard-coded sys.path insert/append. I really want to 
get rid of. Our scripts and virtualenv do not live in the same location, 
what would be the best approach?

Would you have the IT set %PATH% to virtualenv python.exe? 

Would you launch the scripts with bat file? That would mean having 
different bat file for every scripts.

Have an entry point to launch every other tools so you only have to set 
this up once?

The sys.path append/insert is also unavoidable when I want to call 
functions from Deadline events or jobscripts. 

Can anyone give me some suggestion please?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/72b9e969-7795-4864-ad2b-d02cef7643ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to