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

Reply via email to