Setup.py

48 views
Skip to first unread message

Angelo Compagnucci

unread,
Apr 17, 2015, 4:05:37 PM4/17/15
to web...@googlegroups.com
Hello List,

I'm trying to understand how setup.py works. It seems to me that it
doesn't work.

There is no web2py binary in system path or somewhere else.

It's a bug or feature?

Thank you!

Sincerely, Angelo

--
Profile: http://it.linkedin.com/in/compagnucciangelo

Massimo Di Pierro

unread,
Apr 17, 2015, 10:58:52 PM4/17/15
to web...@googlegroups.com
It is very well possible that it does not work. Somebody should adopt it.

Angelo Compagnucci

unread,
Apr 20, 2015, 10:30:05 AM4/20/15
to web...@googlegroups.com
Hi Massimo,

I'm trying to look at it. I have only a question about permission.
Applications should run in a writable folder such as the whole web2py.
I don't think there is an easy way to give writable permissions to
slices of python sitepackage.

I don't think also web2py could be disjointed to have the application
directory in a path totally different from web2py path.

In the end I dont think could be easily feasible to use python package
infrastructure to pack web2py.

What do you think?

Sincerely, Angelo.
> --
> 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+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Profile: http://it.linkedin.com/in/compagnucciangelo

Massimo Di Pierro

unread,
Apr 20, 2015, 6:59:06 PM4/20/15
to web...@googlegroups.com
It is possible to have a the gluon folder under site packages and the applications folder somewhere else. This used to work. I am not sure how and when it broke but it has nothing to do with the web2py default folder structure. Perhaps the problem is that the options.py example moved from web2py/ to web2py/examples/

Angelo Compagnucci

unread,
Apr 27, 2015, 2:53:59 AM4/27/15
to web...@googlegroups.com
Hi Massimo,

I will look into this. So in the end is definitively possibile to
install web2py core with python distutils and keep the application
outside.

I'll try with having applications in /var/www and serve that with
apache using web2py.

I'll post my results as soon as possible.

Sincerely, Angelo
>> > email to web2py+un...@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Profile: http://it.linkedin.com/in/compagnucciangelo
>
> --
> 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+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages