meljunky
03-06-2008, 11:04 PM
Wondering if it is possible to load a compiled Python plug-in. Notice that if you load a Python script (.py) a compiled version is created (.pyc). If you load the pyc file I get the following error. Also, tried the Python command to compile code.
// Error: file: C:/Program Files/Autodesk/Maya8.5/scripts/others/pluginWin.mel line 638: Plug-in, "D:/Documents and Settings/Admin/My Documents/maya/8.5/plug-ins/samplePlugin.pyc.mll", was not found on MAYA_PLUG_IN_PATH. //
// Warning: Could not load C:/Documents and Settings/Admin/My Documents/maya/8.5/plug-ins/samplePlugin.pyc as a plug-in //
// Result: 0 //
As you can see in the error a ".mll" was added to the end of the file's name.
The reason why I am asking...
If you open up the Plug-in Manager and click on the Browse button, the following filter are placed on the search: *.mll, *.so, *.py, *.pyc
The pyc extension is listed as one of the file types available.
Has anybody have any luck loading a compiled Python plug-in or did Maya make a mistake?
-brian
www.meljunky.com (http://www.meljunky.com)
// Error: file: C:/Program Files/Autodesk/Maya8.5/scripts/others/pluginWin.mel line 638: Plug-in, "D:/Documents and Settings/Admin/My Documents/maya/8.5/plug-ins/samplePlugin.pyc.mll", was not found on MAYA_PLUG_IN_PATH. //
// Warning: Could not load C:/Documents and Settings/Admin/My Documents/maya/8.5/plug-ins/samplePlugin.pyc as a plug-in //
// Result: 0 //
As you can see in the error a ".mll" was added to the end of the file's name.
The reason why I am asking...
If you open up the Plug-in Manager and click on the Browse button, the following filter are placed on the search: *.mll, *.so, *.py, *.pyc
The pyc extension is listed as one of the file types available.
Has anybody have any luck loading a compiled Python plug-in or did Maya make a mistake?
-brian
www.meljunky.com (http://www.meljunky.com)
