On Sat, Mar 20, 2010 at 10:01:43AM -0700, Mark Breedveld wrote:
> The web2py community is searching help on debian / ubuntu packaging.

Mark,

I'll see what I can do, but it's not that straightforward. There is no clear
separation in web2py between the user code and the library code. Take, for
example, the admin app: it is located under te applications directory (where
the user code resides), but it is essentially part of the core, as web2py
refuses to start without it. 

I would say the first step should be to patch web2py to move the
applications dir out of the main dir. I'm not sure what's the best way 
to do this, maybe we can put the list of application directories into an
environment variable (something like WEB2PY_APPS_PATH). When web2py receives
a request for application X it should look for dir/X for every dir in
WEB2PY_APPS_PATH. This would allow us to keep applications/admin in the core
package, but give the users the possibility to have their own application
directories.
 
I'll give it a go, but I'm not very familiar with web2py internals, so
I would appreciate a bit of help from somebody more experienced. Once this
is done, the actual packaging will be quite simple.

Regards,
Dima.

P.S. I tried to post this messages via the Google groups web interface,
but it did not come through for some reason. Don't be surprised if you get
two copies.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.

Reply via email to