On Mittwoch, 17. März 2010, G. Allegri wrote: > Hi list, > I'm quite new to the world of eric. I'm using eric4 on python 2.6, and I > would like to generate some APIs for my installed modules, in particolar > Django, and some others. > > I suppose I have to use eric-api.py to do it. Here is what I've tried: > > eric-api.py -r -o django.api django
Is django the correct path to the directory from the point of execution (i.e. are you executing the script from the directory above "django")? > > it creates django.api without errors, but it's empty. The fact that I don't > receive errors seems it can "see" django, but the parsing returns empty > classe and functions dictionaries for the module. I've seen it setting a > pdb breakpoint before line 244 in eric-api.py (module = > Utilities.ModuleParser.readModule(file,basename = basename, inpackage = > inpackage)). > > What am I missing? Isn't this generator supposed to work this way? > thanks a lot, > giovanni > -- Detlev Offenbach [email protected] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
