[web2py] Packaging web2py + application

2012-01-05 Thread Ross Peoples
Hello everyone,

I want to make an RPM package for my application that primarily targets 
CentOS. I am working with version 5, which only has Python 2.4. I would 
like to create an RPM that packages Python 2.7, web2py, and my application. 
Does anyone have any experience with doing anything like this? I'm a 
developer, not a packager, so this is all new to me.

Any help would be greatly appreciated. Thanks,

Ross


Re: [web2py] Packaging web2py + application

2012-01-05 Thread Angelo Compagnucci
I can suggest you http://code.google.com/p/pts-mini-gpl/wiki/StaticPython

It's a statically compiled version (and runtime) of python, you can drop it
in web2py folder and write a script that starts

./python web2py.py 

In this way you have not to fight with rpm packing (I made several packeges
for opensuse ...), you can yust zip your application. This bynary works
well on all linux x86 x86-68 archs and it's not influenced by the
distribution you are running.

Angelo

2012/1/5 Ross Peoples ross.peop...@gmail.com

 Hello everyone,

 I want to make an RPM package for my application that primarily targets
 CentOS. I am working with version 5, which only has Python 2.4. I would
 like to create an RPM that packages Python 2.7, web2py, and my application.
 Does anyone have any experience with doing anything like this? I'm a
 developer, not a packager, so this is all new to me.

 Any help would be greatly appreciated. Thanks,

 Ross




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


Re: [web2py] Packaging web2py + application

2012-01-05 Thread Ross Peoples
StaticPython looks pretty cool, but there are two issues I see with this:

First, my target platform is 64-bit. StaticPython is only 32-bit.
Second, the RPM is a requirement. In the future, we may create a yum repo 
for the application for updates and things like that, so we have to use RPM 
from the beginning.