Message4015

Author JohnSJohnM
Recipients JohnSJohnM
Date 2009-01-08.13:57:53
SpamBayes Score 0.063833304
Marked as misclassified No
Message-id <1231423074.43.0.684863878021.issue1222@psf.upfronthosting.co.za>
In-reply-to
Content
As noted here (http://jblebrun.blogspot.com/2008/10/django-on-glassfish-
via-jython.html under point 6.), when a packaged up application is 
deployed to an application server utilising modjy it does not pick up 
any additional Python libraries which have been included in your 
application.

For example in my test Django app, under:

/tomcat/webapps/LSE_PublicSite/WEB-INF/lib-python/

.. I have 'Lib', 'doj', 'django' and 'LSE_PublicSite' sub folders which 
are not searched, thus making it pretty difficult for any application 
to run.

As detailed in the blog, above, by manually adding a .pth file for each 
sub folder their contents are available on the path again. 
Could this be automated?

This is tested with modjy 0.25.1, but also has been the case with 
several prior versions I have tested.
History
Date User Action Args
2009-01-08 13:57:54JohnSJohnMsetrecipients: + JohnSJohnM
2009-01-08 13:57:54JohnSJohnMsetmessageid: <1231423074.43.0.684863878021.issue1222@psf.upfronthosting.co.za>
2009-01-08 13:57:54JohnSJohnMlinkissue1222 messages
2009-01-08 13:57:54JohnSJohnMcreate