When you import your function(s) in maya, it automatically compiles them for you.. then you can just "publish" your bytecode. -d
On Thu, Oct 7, 2010 at 4:50 AM, Ryan <[email protected]> wrote: > Hi, > > How do I tell Maya to run python with optimization requested (command > line option -O). I have a number of asserts in my libs and would like > them removed when the source is compiled to byte code. > > Thanks, > Ryan > > -- > http://groups.google.com/group/python_inside_maya -- When things get too complicated, it sometimes makes sense to stop and wonder: Have I asked the right question? -Enrico Bombieri -- http://groups.google.com/group/python_inside_maya
