Thanks for letting us know. That usually works. When it does not the you 
can use the web2py/site-packages folder.

On Tuesday, 5 September 2017 07:26:35 UTC-5, Carl Hunter Roach wrote:
>
> placing the tlslite directly in applications/appname/modules enables 
> import statements to resolve correctly (just as the manual states! :)
> I had incorrectly placed it one level lower to group some other files 
> together.
>
>
> On Monday, 4 September 2017 18:28:48 UTC+1, Carl Hunter Roach wrote:
>>
>> I'd like to use 
>> https://github.com/freshplanet/AppEngine-SocketPool/tree/master/tlslite 
>> in a GAE/Web2py project
>>
>> If I place tlslite in my apps `modules` directory I can then add imports 
>> such as `from applications.appname.modules.tlslite import ...`
>>
>> but tlslite's python source has many `import` statements.
>>
>> do I need to change each `import` statement to include the path 
>> `applications.appname.modules. etc` ?
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to