<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>looking at the TurboGears, Django or Pylons plug-in for eric4 is already a very good start. These have not yet been ported to eric5. That is on the TODO list. However, as long as these environment are still using Python2, it is best to use eric4 for the development.</div><div><br></div><div>I don't know enough about web2py to know, if it is using Python3 already. However, I am considering it as a first web development plug-in for eric5 (just bought the book myself to get familiar with it). Unfortunately I am not able to give a date of availability for this plug-in.</div><div><br></div><div>More info below.</div><div><br><div><div>Am 31.10.2011 um 23:28 schrieb David:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman">I'm new to Eric (I'm using version 5),
and relatively new to python. I've been searching for an IDE to
develop web2py applications.<br>
<br>
Web2py presents certain challenges to IDEs because its
applications are not imported by the main application, as in most
other python frameworks. Instead, web2py executes the
applications in a pre-prepared environment that provides objects
which are simply not available in a non-runtime (e.g. IDE)
environment.<br>
<br>
Eclipse/Pydev solution:
<a class="moz-txt-link-freetext" href="http://kollerie.wordpress.com/2009/04/07/setting-up-your-ide-for-web2py-development/">http://kollerie.wordpress.com/2009/04/07/setting-up-your-ide-for-web2py-development/</a><br>
Wingware solution: <a class="moz-txt-link-freetext" href="http://www.wingware.com/doc/howtos/web2py">http://www.wingware.com/doc/howtos/web2py</a><br>
Komodo solution:
<a class="moz-txt-link-freetext" href="http://community.activestate.com/forum/implicit-python-code-completion">http://community.activestate.com/forum/implicit-python-code-completion</a><br>
<br>
The most promising of these seems to be the Komodo plugin since it
requires no alteration of web2py or cruft stuck at the top of each
web2py source file.<br>
<br>
I would really like to use Eric to develop web2py applications,
but need to overcome the web2py challenges for Eric to properly
provide code completion, call tips, syntax highlighting, and
debugging.<br>
<br>
I have read the documentation on the eric5 plugin system, which
would seem to be the way to go, but I'm still not sure how to
accomplish what is needed for web2py development. I have also
examined the TurboGears Project plugin from eric4 as an example.<br>
<br>
Has anyone created a web2py plugin?<br></font></div></blockquote><div><br></div><div>That is on my TODO list.</div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><font face="Times New Roman">
<br>
If not, could someone point me in the right direction for creating
my own? <br></font></div></blockquote><div><br></div><div>You are already on the right track by analyzing the Django or TurboGears plug-in for eric4. Additional info about plug-ins in general is contained in the respective document, which is part of the eric distribution.</div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><font face="Times New Roman">
For example, what is the syntax for the language APIs? <br>
Is there a method for generating these language APIs, or are these
manually edited?<br></font></div></blockquote><div><br></div><div>Language API files can be generated with the eric5_api.py script. Entering eric5_api -h gives some usage info.</div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><font face="Times New Roman">
I couldn't figure out from the documentation how to add a new
project type for eric5, is there some source for this information?<br></font></div></blockquote><div><br></div><div>New project types are added via plug-ins. You may use the eric4 wxPython plug-in as a template. It adds just a new project type.</div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><font face="Times New Roman">
<br>
Thank you in advance for your help.<br>
</font>
</div>
_______________________________________________<br>Eric mailing list<br><a href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a><br>http://www.riverbankcomputing.com/mailman/listinfo/eric<br></blockquote><br></div><div>Regards,</div><div>Detlev</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Detlev Offenbach</div><div><a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>