Differences between revisions 2 and 3
Revision 2 as of 2007-09-23 20:37:12
Size: 1410
Editor: PhilipJenvey
Comment: order the dependencies
Revision 3 as of 2007-09-23 21:02:53
Size: 1405
Editor: PhilipJenvey
Comment: updates
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
  - nose requires the optparse (easy) and the compiler module (sort of easy -- compiler requires the parser module, which isn't easy to get). nose only needs the compiler module to use compiler.consts.CO_GENERATOR, maybe jython could provide a broken compiler module that doesn't import parser.   - nose requires the optparse (easy) and compiler modules (sort of easy -- compiler requires the parser module, which won't be easy to get on Jython). nose only needs the compiler module to use compiler.consts.CO_GENERATOR; maybe jython could provide a broken compiler module that doesn't import parser.
Line 20: Line 20:
  - (I actually tested routes on Jython over a year ago and all the tests passed after one small change)   - (I actually got all of routes' tests to pass on Jython well over a year ago -pjenvey)

The things/steps needed to get Pylons running on Jython:

* The ability to install Pylons and all its dependencies:

Ensure all dependencies' tests pass:

* Paste, PasteDeploy and PasteScript

* Mako

* Beaker

* nose

  • - nose requires the optparse (easy) and compiler modules (sort of easy -- compiler requires the parser module, which won't be easy to get on Jython). nose only needs the compiler module to use compiler.consts.CO_GENERATOR; maybe jython could provide a broken compiler module that doesn't import parser.

* Routes

  • - (I actually got all of routes' tests to pass on Jython well over a year ago -pjenvey)

* WebHelpers

* FormEncode

* simplejson

* decorator

  • - Note: decorators aren't currently supported in Jython, however the decorator module doesn't actually use decorators (works on CPython 2.3)

Later down the road:

* SQLAlchemy. The [http://www.sqlalchemy.org/trac/ticket/672 Dialect Refactor II] ticket will need to be implemented to properly support using SQLAlchemy via Jython's DBAPI jdbc driver, [http://jython.org/Project/userguide.html#database-connectivity-in-jython zxJDBC]. Frank Wierzbicki has done some preliminary work on using SQLAlchemy with Jython, info [http://groups.google.com/group/sqlalchemy/browse_frm/thread/d60db24fe1683a41/09320033f406d78b?hl=en&lnk=gst here]

PylonsOnJython (last edited 2009-09-14 22:04:24 by PhilipJenvey)