Put your libraries under app/modules an use local_import()

Bruno Rocha
http://about.me/rochacbruno/bio


2011/1/13 Lorin Rivers <[email protected]>

> That's exactly the kind of user experience I want to avoid.
>
>
> On Jan 13, 2011, at 13:34 , Alexandre Andrade wrote:
>
> > try to import, and if fails, generate message to user to install it on
> the
> > system
> >
> >
> > Alexandre Andrade
> > Hipercenter.com Classificados Gratuitos e Inteligentes
> >
> >
> >
> > 2011/1/13 Lorin Rivers <[email protected]>
> >
> >> I am using tabular <http://www.parsemydata.com/tabular> (which requires
> >> numpy), as well as psycopg2 and a number of other libraries.
> >>
> >> The default location for such things is one of the local site-packages
> >> directories, which of course, doesn't migrate to another machine
> >> automagically.
> >>
> >> What's the best practice for this sort of thing?
> >> --
> >> Lorin Rivers
> >> Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
> >> <mailto:[email protected]>
> >> 512/203.3198 (m)
> >>
> >>
> >>
> >
> >
> > --
> > Atenciosamente
>
> --
> Lorin Rivers
> Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
> <mailto:[email protected]>
> 512/203.3198 (m)
>
>
>

Reply via email to