[Distutils] Releasing eggs as .tar.gz with setuptools or zc.buildout

Martin Raspaud martin.raspaud at smhi.se
Thu Mar 25 08:26:12 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tarek Ziadé skrev:
> On Wed, Mar 24, 2010 at 6:24 PM, Fred Drake <fdrake at acm.org> wrote:
>> On Wed, Mar 24, 2010 at 12:48 PM, Baiju M <mbaiju at zeomega.com> wrote:
>>> Can you give some pointer how you are creating RPMs for
>>> the binary eggs (eg:- zope.interface ) Any tool available ?
>> The RPM is built using the normal RPM tools: we write a spec file,
>> then run rpmbuild in what we think are the normal ways.  Nothing
>> special is needed.
>>
>>> These RPMs are for entire buildout or individual eggs ?
>> For the entire buildout, since they're applications.  We use a
>> separate package (RPM) with a "clean" Python (nothing in
>> site-packages!) that won't be affected by general system updates.
> 
> We use to do the same but we build the isolated buildout using
> collective.releaser.
> 
> The tool is a script that creates a binary zip containing the built
> buildout, that can be re-run
> on a similar arch without any web access.
> 
> It also has features like patch creation for buildout (will create a
> small archive with a patch
> to be applied on an existing buildout for upgrades)
> 
> I think the tool is still maintained by Ingeniweb but under-documented
> 
Indeed, the documentation isn't very clear to me.
Project_deploy seemed to do almost what I wanted, except it was packaging the
buildout with the egg, which is not suitable for our installation.

Is there way to tell it to package just an egg ?

Thanks,
Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLqxAUAAoJEBdvyODiyJI4DlYIAM4t6y3/d/NEphKqUvAkHJqc
ZnqBm1OJ0jLhDw7ca0pWAxz/IS5XuvVW2TxX1sO45D6Xf+8OjWm+CY5hoOFAdI3K
vQbDEpCRgSCAf+NWTAeB8JKelaoHKRNY0VKeCrZ/YH8EFZi61XHGYBKBbInDhsce
i6fe+B0/P/DVTcFvyQGxr3vz3mi2S9RNQ+SsAuj8Y5U9j3TIuf2uAVl16sRSZdZa
j6aDwDh+3B8U3aXQuL7IYi5jYP6NkkyX4RqjZUn8DMzjqYAevuYoMqcMnkax5hCp
/A+WT9vBcnVnZJIKXEYalgp1QagvxX7NfjPcayVTwhzeJFmzHT0awqmSLbg69bM=
=fx/O
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: martin_raspaud.vcf
Type: text/x-vcard
Size: 259 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100325/8caa1399/attachment.vcf>


More information about the Distutils-SIG mailing list