[Booki-dev] Comments on Booki
adam hyde
adam at flossmanuals.net
Sun Sep 19 01:58:28 PDT 2010
just opened this ticket doug...can you comment on it in the ticket too?
adam
On Sun, 2010-09-19 at 20:53 +1200, Douglas Bagnall wrote:
> hi Alexandre
>
> > * you don't need python-simplejson if you are using python 2.6 or
> > above. Just use the "json" module.
>
> The booki server runs lenny which has 2.5, so simplejson is needed.
> I think the usual way to deal with this is something like:
>
> try:
> import json
> except ImportError:
> import simplejson as json
>
> which Booki uses in some places but not everywhere. It breaks if the
> entirely unrelated python-json is installed, but that is rare.
>
> > * You should favour installing dependencies using the OS' packaging
> > system (such as APT) if possible. There are Debian packages for
> > python-redis, python-simplejson (now in the core Python stuff, though)
> > and python-django.
>
>
> Until a month or two ago I was able to run Booki using standard Debian
> testing's Redis and Django, but it has recently shifted to using Redis
> features that aren't packaged anywhere, even in sid.
>
> Shifting to a proper config file should be simple -- we just need to
> make settings.py import the values, and can leave everything else
> unchanged. Perhaps we should open a ticket.
>
> regards
>
> Douglas
> _______________________________________________
> Booki-dev mailing list
> Booki-dev at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
--
Adam Hyde
Founder FLOSS Manuals &
Booki Project Manager
Contact Information
German mobile : + 49 177 4935122
Email : adam at flossmanuals.net
irc : irc.freenode.net #flossmanuals
"Free manuals for free software"
http://www.flossmanuals.net/about
Free Software for making Free Books
http://www.booki.cc/
More information about the Booki-dev
mailing list