And for details, check out:
 
http://web2py.com/book/default/chapter/04#Third-Party-Modules
 

On Thursday, January 13, 2011 2:52:50 PM UTC-5, rochacbruno wrote:

> Put your libraries under app/modules an use local_import()
>
> Bruno Rocha
> http://about.me/rochacbruno/bio
>
>
> 2011/1/13 Lorin Rivers <lri...@mosasaur.com>
>
>> 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 <lri...@mosasaur.com>
>> >
>> >> 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:lri...@mosasaur.com>
>> >> 512/203.3198 (m)
>> >>
>> >>
>> >>
>> >
>> >
>> > --
>> > Atenciosamente
>>
>> --
>>  Lorin Rivers
>> Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
>> <mailto:lri...@mosasaur.com>
>> 512/203.3198 (m)
>>
>>
>>
>

Reply via email to