Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Packaging/Distributing pyramid apps
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Anderson  
View profile  
 More options Jun 15 2012, 3:50 pm
From: John Anderson <son...@gmail.com>
Date: Fri, 15 Jun 2012 14:50:43 -0500
Local: Fri, Jun 15 2012 3:50 pm
Subject: Packaging/Distributing pyramid apps

What are you guys using these days?  easy_install? pip? buildout? etc.. :)
    Just looking for more information on what all you guys are using and
why so that we can make a better decision on what we are going to go with!

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alvaro Aguirre  
View profile  
 More options Jun 15 2012, 4:36 pm
From: Alvaro Aguirre <shi...@gmail.com>
Date: Fri, 15 Jun 2012 16:36:20 -0400
Local: Fri, Jun 15 2012 4:36 pm
Subject: Re: Packaging/Distributing pyramid apps

Hi John,

I prefer to use buildout + mr.developer. It's very cleaner to move between
dev, test and production environments this way for me, and have
everything synchronized from our repository.

Using buildout versions.cfg file, we can rapidly recover exact versions of
our applications after a "disaster"

Ex:
https://github.com/aaguirre/PythonChile.Buildout/blob/master/buildout...

Also, using buildout recipes I can solve specific problems easily, like the
creation of the wsgi files to run my apps under mod_wsgi.

Cheers,
Alvaro.

2012/6/15 John Anderson <son...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Merickel  
View profile  
 More options Jun 15 2012, 5:41 pm
From: Michael Merickel <mmeri...@gmail.com>
Date: Fri, 15 Jun 2012 16:41:29 -0500
Local: Fri, Jun 15 2012 5:41 pm
Subject: Re: Packaging/Distributing pyramid apps
I was a big proponent of pip because it looked like where everything
was going, however I've all but abandoned it at this point in favor of
easy_install (without attempting to deal with buildout's doctest-style
documentation).

pip does not:
- support binary packages (for windows or scientific packages)
- integrate well with setup.py sub-commands (develop, install, test)

easy_install does not:
- support uninstalling things
- have a freeze operation

I delete virtualenvs when I mess up anyway, so I'll gladly sacrifice
uninstall support, and I can pin things in the setup.py if necessary
rather than freezing the entire environment.

Hopefully packaging (distutils2) solves everything, right?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Vanasco  
View profile  
 More options Jun 15 2012, 5:50 pm
From: Jonathan Vanasco <jonat...@findmeon.com>
Date: Fri, 15 Jun 2012 14:50:47 -0700 (PDT)
Local: Fri, Jun 15 2012 5:50 pm
Subject: Re: Packaging/Distributing pyramid apps
pip will also reinstall all dependencies (ie: already met ones) every
time you upgrade a package.   it's infuriating and annoying.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Vanasco  
View profile  
 More options Jun 15 2012, 6:01 pm
From: Jonathan Vanasco <jonat...@findmeon.com>
Date: Fri, 15 Jun 2012 15:01:35 -0700 (PDT)
Local: Fri, Jun 15 2012 6:01 pm
Subject: Re: Packaging/Distributing pyramid apps
my preferred solution right now is:

merge sourcecode into a 'current_deployed' tag/branch
use fabric/fabfile to ssh into the server , checkout the build,
install it into the virtualenv using 'development mode', set a few
symlinks, and relaunch the app

i decided against running everything through an app that is installed
into the virtualenv site-packages directory.  my production
deployments mix pyramid + twisted + http + some java , so I prefer
having everything consolidated into the single directory structure
that correlates to the source.

it's totally a preference, but I like the 'self-contained' world that
replicates itself.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Forkel  
View profile  
 More options Jun 15 2012, 6:54 pm
From: Robert Forkel <xrotw...@googlemail.com>
Date: Sat, 16 Jun 2012 00:54:13 +0200
Local: Fri, Jun 15 2012 6:54 pm
Subject: Re: Packaging/Distributing pyramid apps
pip with our own pypi mirror. This makes the pain of pip reinstalling
everything on update a lot easier to take.

On Sat, Jun 16, 2012 at 12:01 AM, Jonathan Vanasco


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabian Neumann  
View profile  
 More options Jun 15 2012, 11:37 pm
From: Fabian Neumann <fabianneuman...@googlemail.com>
Date: Fri, 15 Jun 2012 20:37:20 -0700 (PDT)
Local: Fri, Jun 15 2012 11:37 pm
Subject: Re: Packaging/Distributing pyramid apps

+1 on using buildout and mr.developer. Our complete development and deployment setup is based on these plus git and fabric. Been using this combination for years. Once you get it, it's very powerful.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabian Neumann  
View profile  
 More options Jun 15 2012, 11:38 pm
From: Fabian Neumann <fabianneuman...@googlemail.com>
Date: Fri, 15 Jun 2012 20:38:50 -0700 (PDT)
Local: Fri, Jun 15 2012 11:38 pm
Subject: Re: Packaging/Distributing pyramid apps

+1 on using buildout and mr.developer. Our complete development and deployment setup is based on these plus git and fabric. Been using this combination for years. Once you get it, it's very powerful.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andi Balke  
View profile  
 More options Jun 17 2012, 1:32 pm
From: Andi Balke <andi.ba...@googlemail.com>
Date: Sun, 17 Jun 2012 19:32:38 +0200
Local: Sun, Jun 17 2012 1:32 pm
Subject: Re: Packaging/Distributing pyramid apps

we are on the road for distribution packages in our project. in our last company this was also required (by us for every project ;) ) to deliver one rpm/deb. it doesn't matter if you have a buildout or a maven sandbox.

good reasons are here:
http://hynek.me/articles/python-deployment-anti-patterns/
http://hynek.me/articles/python-app-deployment-with-native-packages/

a tutorial for easy package building is here:
http://aboutsimon.com/2012/04/16/building-a-python-deb-in-a-bootstrap...

in my case i'm building a fabric task that compiles all dependency packages and the application and builds debs. this is quite far, but not ready yet. using a vm is comfortable as you can reset it in 4 seconds::

        vmrun revertToSnapshot /Users/Shared/vm/debian\ 6\ squeeze/Other\ Linux\ 2.6.x\ kernel.vmwarevm/ git_base_install \
                && vmrun start /Users/Shared/vm/debian\ 6\ squeeze/Other\ Linux\ 2.6.x\ kernel.vmwarevm/

also there is a second vm (a system-clone of staging or live then)  which does not contain the compilation toolchain to test the produced deb.

when this fabric building work is done, the fabric task will move to jenkins and run on commits to the master branch automatically. the result is a deb package on the buildserver which can be installed on a staging, maybe automatically (at least the staging). the concept with having a branch for automatic releases is described here: http://nvie.com/posts/a-successful-git-branching-model/ (in our last company this worked really well for different projects. everyone knows: master commit+version bump will result in a relase version 5-30mins later.)

about the installation itself there will surely come up puppet, but since now i'm glad when the other work is done.

cheers, andi

On 16.06.2012, at 05:38, Fabian Neumann wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas G. Willis  
View profile  
 More options Jun 18 2012, 12:29 pm
From: "Thomas G. Willis" <tom.wil...@gmail.com>
Date: Mon, 18 Jun 2012 09:29:41 -0700 (PDT)
Local: Mon, Jun 18 2012 12:29 pm
Subject: Re: Packaging/Distributing pyramid apps

We use buildout and ant because we have a fairly sizable javascript app
talking to a pyramid app on appengine. I'm not sure if ant is really
necessary for us but it makes things nice for jenkins.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »