hehe, they will make many happy, but some very angry. :O

On Sun, May 22, 2011 at 9:21 PM, Iceberg <iceb...@21cn.com> wrote:

>
> On May 22, 10:20 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
> 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

Reply via email to