Re: [web2py] Re: Setup.py

2015-04-27 Thread Angelo Compagnucci
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

2015-04-21 0:59 GMT+02:00 Massimo Di Pierro massimo.dipie...@gmail.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/


 On Monday, 20 April 2015 09:30:05 UTC-5, AngeloC wrote:

 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.

 2015-04-18 4:58 GMT+02:00 Massimo Di Pierro massimo.dipie...@gmail.com:
  It is very well possible that it does not work. Somebody should adopt
  it.
 
 
  On Friday, 17 April 2015 15:05:37 UTC-5, AngeloC wrote:
 
  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
 
  --
  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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Setup.py

2015-04-20 Thread Massimo Di Pierro
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/


On Monday, 20 April 2015 09:30:05 UTC-5, AngeloC wrote:

 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. 

 2015-04-18 4:58 GMT+02:00 Massimo Di Pierro massimo.dipie...@gmail.com: 
  It is very well possible that it does not work. Somebody should adopt 
 it. 
  
  
  On Friday, 17 April 2015 15:05:37 UTC-5, AngeloC wrote: 
  
  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 
  
  -- 
  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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Setup.py

2015-04-20 Thread Angelo Compagnucci
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.

2015-04-18 4:58 GMT+02:00 Massimo Di Pierro massimo.dipie...@gmail.com:
 It is very well possible that it does not work. Somebody should adopt it.


 On Friday, 17 April 2015 15:05:37 UTC-5, AngeloC wrote:

 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

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


[web2py] Re: Setup.py

2015-04-17 Thread Massimo Di Pierro
It is very well possible that it does not work. Somebody should adopt it.

On Friday, 17 April 2015 15:05:37 UTC-5, AngeloC wrote:

 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 


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


Re: [web2py] Re: setup.py to install web2py globally into the python env/virtualenv

2011-03-21 Thread Praneeth Bodduluri
Massimo,

Submitted at:
https://code.google.com/p/web2py/issues/detail?id=220

--
Praneeth
IRC: lifeeth



On Mon, Mar 21, 2011 at 9:59 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
 This is great! Monday and Tuesday are busy days for me but I will
 check this asap. Please open a web2py issue on google code to make
 sure this is tracked.

 Massimo

 On Mar 20, 4:34 pm, Praneeth Bodduluri life...@gmail.com wrote:
 Hello all,

 In an attempt to make web2py pip installable, so that I can use gluon
 as a module in other python programs, I created a setup.py that can be
 used to create a source dist for PyPI. Attached are the files that
 need to be placed in the web2py root directory.

 To create the source distribution:

 python setup.py sdist

 To install from the source distribution (After running the above
 command and using the sdist that it creates):

 python setup.py install

 After installing in your python env or virtualenv:

 To create a new web2py application directory:

 mkweb2pyenv path_to_project_dir

 To run web2py from a directory:

 runweb2py path_to_project_dir

 I hope this makes its way to web2py Trunk. A clone with the files
 included can be found at :https://code.google.com/r/lifeeth-pip

 I made a video of running an instance for those who like to watch:

 https://www.youtube.com/watch?v=f6cFkK2ZDPY

 --
 Praneeth
 IRC: lifeeth

  new_files.tar.bz2
 2KViewDownload


[web2py] Re: setup.py to install web2py globally into the python env/virtualenv

2011-03-20 Thread Massimo Di Pierro
This is great! Monday and Tuesday are busy days for me but I will
check this asap. Please open a web2py issue on google code to make
sure this is tracked.

Massimo

On Mar 20, 4:34 pm, Praneeth Bodduluri life...@gmail.com wrote:
 Hello all,

 In an attempt to make web2py pip installable, so that I can use gluon
 as a module in other python programs, I created a setup.py that can be
 used to create a source dist for PyPI. Attached are the files that
 need to be placed in the web2py root directory.

 To create the source distribution:

 python setup.py sdist

 To install from the source distribution (After running the above
 command and using the sdist that it creates):

 python setup.py install

 After installing in your python env or virtualenv:

 To create a new web2py application directory:

 mkweb2pyenv path_to_project_dir

 To run web2py from a directory:

 runweb2py path_to_project_dir

 I hope this makes its way to web2py Trunk. A clone with the files
 included can be found at :https://code.google.com/r/lifeeth-pip

 I made a video of running an instance for those who like to watch:

 https://www.youtube.com/watch?v=f6cFkK2ZDPY

 --
 Praneeth
 IRC: lifeeth

  new_files.tar.bz2
 2KViewDownload