i do something similar to get the recaptcha client to work (the
installer is broken) along with some other modules

my solution is this:

1_ I have an 'externals' dir in lib
   /myapp/lib/externals/recaptcha

2_ at the top config/environment.py i have

import sys
appdir= sys.path[0]
appexternals= "%s/##APPNAME##/lib/externals" % appdir
sys.path.append(appexternals)

works like a charm, and lets me port around 'externals' through svn

the only things to note is:

1) you need a /myapp/lib/externals/__init__.py
2) you need to rewrite ##APPNAME## in environment.py on each install.
i wish i found a better way to standardize this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to