[CF-Devel] Questions about plugin code

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Oct 17 22:39:54 CDT 2004


Hi Andreas,
While you are poking around in the python plugin code can you figure out
how to add the python folder in the maps module to the PyInitialize()
sys.path so that it will be checked for modules there automatically and
first.  This will save a lot of bootstrapping in the scripts and allow
us to override other library modules if desired. I can't seem to find a
concrete example of how to do this in the python embedding documents
aside from comments on adding an environment setting which seems weird
compared to just adding the path to the sys.path list, it must be too
subtle to me to figure out.


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list