Perhaps. I know that hack effectively shuts down the "install" argument. So the point is whether "python setup.py install" has any legitimate purpose in web2py? I don't know. Someone please tell me. :-)
On May 23, 2:29 pm, "Jason (spot) Brower" <[email protected]> wrote: > hehe, they will make many happy, but some very angry. :O > > > > On Sun, May 22, 2011 at 9:21 PM, Iceberg <[email protected]> wrote: > > > On May 22, 10:20 pm, Massimo Di Pierro <[email protected]> > > wrote: > > > Looks like the presence of a web2py/setup.py is confusing some users: > > > >http://twitter.com/#!/gvwilson/status/72280501821517824 > > > > What can we do to make obvious that people should use > > > > python web2py.py > > > > and not > > > > python setup.py install > > > > ? > > > How about a dirty hack at the beginning of current setup.py as below? > > > import sys > > if sys.argv[-1]=='install': > > print 'web2py needs no installation. You just need to: python > > web2py.py.' > > print 'Action abort.' > > sys.exit() > > > Regards, > > Iceberg

