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

Martin Raspaud martin.raspaud at smhi.se
Wed Mar 24 16:35:45 CET 2010


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

Hello,

I am now working on a project that I need to deploy on different servers in a
compiled form, as tar.gz files (the servers do not have gcc for example).

The project comprises two libraries and an extra set of config files and scripts
for batch computation.

I would like to have a utility that does all the packaging for me, that is
create a tar.gz for each lib and one for the scripts, each containing a
directory with the compiled things.

Here are my different approaches:
- - setuptools bdist: This is almost what I need, except that it creates a usr dir
on top of the tarball.
- - zc.buildout: this looked promissing (although pretty hard to get into). I
stumbled upon collective.releaser, which I thought was what I needed, but its
project_deploy script just tarballs the entire buildout directory.

Here is the config file I used for project_deploy:
[buildout]
parts =
      myproj

[myproj]
recipe=zerokspot.recipe.git
repository=/data/proj/myproj
branch=unstable
as_egg=true

I am getting quite desperate...

Can anyone give me pointers ?

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

iQEcBAEBAgAGBQJLqjFQAAoJEBdvyODiyJI4Y/cH/0/3osiqHWlzoT4lDiSgnrSu
oG/mQMUHE+kOVHzDaZlf6mEQiTw0Ro2JPOwSSYlmf7dMXxmcCjkvNSmaqf2iYNE6
DN2SfMguIYG7v+hU3y9D9nPCdg4uf0kpxvTOFqm4cGkhnsqnIsy585eW6NLuXiwU
pDuWlkLmYcFgVZGLczEJQ+p0h9ujigrVUZfH1vq+hn1r+Fpa7X69N2EMtBxq/Ull
svqHQrNrEI3Brcv/9T/JMgen3//Mgb4vUrbN81LBa6rOJYth6AK6dBbkp5wicaUn
QnPrl5/im59UJ5IT5Mrbj7o4kYdvKaxM9Iw+5fX4rnp0nV8mlbKv5vastCCJtp0=
=qqAr
-----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/20100324/1f8b11ad/attachment-0001.vcf>


More information about the Distutils-SIG mailing list