[Python.NET] building on linux, mono 2.8.1

Tribble, Brett btribble at ea.com
Fri Dec 10 04:54:17 CET 2010


Maya works fine with python.net. We use it all the time. Just remember that Maya is very particular as to how it handles multithreading, raising events, and the like. There is some info in the Maya Python SDK regarding how to deal with Python threading and Maya, and it seems to work with .NET callbacks as well. I've found that is seems best to add a flag to your .NET assembly that enables/disable events so that you can shut them off quickly before you end up with stacked event callbacks and resulting Maya crashes. If you're not raising events that percolate into Maya, then you probably don't need to worry about this.


-----Original Message-----
From: pythondotnet-bounces+btribble=ea.com at python.org [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of Laszlo Sebo
Sent: Thursday, December 09, 2010 12:06 PM
To: pythondotnet at python.org
Subject: Re: [Python.NET] building on linux, mono 2.8.1

 > Sadly, our other target, Maya, seems to be linking python 
statically... So I hope i can figure out how to get this integrated 
somehow...

Actually, scratch that. It seems like it has it's own .so as well. Time 
for some testing....



cheers,
laszlo

_________________________________________________
Python.NET mailing list - PythonDotNet at python.org
http://mail.python.org/mailman/listinfo/pythondotnet



More information about the PythonDotNet mailing list