>Everything else is pretty much decoupled. sqlhtml.py depends on dal.py
>and html.py. shell.py depends on everything because acts like main but
>from shell.

Thanks massimo , But things like contrib, which suppose to be not very
critical module , but it cannot be removed coz important module like
main.py html.py depends on contrib. And if i decide , "OK i can live
without html helpers" and goes to remove html.py, but i can't coz  it
is used by many important modules :

globals.py:from html import xmlescape, TABLE, TR, PRE
html.py:from htmlentitydefs import name2codepoint
main.py:from html import URL as Url
restricted.py:from html import BEAUTIFY
sanitizer.py:from htmllib import HTMLParser
sanitizer.py:from htmlentitydefs import entitydefs
serializers.py:from html import TAG
serializers.py:from html import xmlescape
sqlhtml.py:from html import XML, SPAN, TAG, A, DIV, UL, LI, TEXTAREA,
BR, IMG, SCRIPT
sqlhtml.py:from html import FORM, INPUT, LABEL, OPTION, SELECT
sqlhtml.py:from html import TABLE, THEAD, TBODY, TR, TD, TH
sqlhtml.py:from html import URL as Url
tools.py.orig:from html import *

and so on ..


>I reread your initial post and see that you want to offer download bundles of 
>your apps
>packaged together with web2py.  I suggest you do what I did, which is run an 
>application
>called TreeSizeFree on your web2py folder, and find all the large files that 
>are not needed
and
>delete them.  Here I am referring to things like README, and so on.

Thanks , i will see that app.

> How do you deal with the Python dependency?
That is one of the problem too, i also made a question about Python
Dependency on StackOverflow , if it is possible to include directly
inside a bundle. Results are good for Windows coz it have Portable
Python but not so well for *Nix variants .

http://stackoverflow.com/questions/6705193/easy-deploying-of-python-and-application-in-one-bundle-for-linux


On 8/4/11, cjrh <caleb.hatti...@gmail.com> wrote:
> On Thursday, 4 August 2011 00:25:19 UTC+2, Phyo Arkar wrote:
>>
>> 14 MB is small  for "you" Dosen't mean thats small for  other part of of
>> the world. Here connection speed is Averaged to 64 kbit/s to 256kbit/s
>> and
>> random (Frequent) disconnects , people believes 1 MB is already big.
>> zipped
>> web2py is already 6.9MB.
>>
>> Plus Bandwidth concern. I use my own Dedicated and VPS servers to host.
>> They are already busy , and Bigger file-size = more bandwidth , 10MB *
>> Download  already 10 GB . If this become popular , bandwidth cost will be
>> great..
>>
>
> I reread your initial post and see that you want to offer download bundles
> of your apps packaged together with web2py.  I suggest you do what I did,
> which is run an application called TreeSizeFree on your web2py folder, and
> find all the large files that are not needed and delete them.  Here I am
> referring to things like README, and so on.
>
> How do you deal with the Python dependency?
>

Reply via email to